Convert ODT to HTML
Turn ODT documents into HTML. One standalone page with the headings, emphasis, lists, tables, links and footnotes, and the images embedded in it.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop ODT files on the dialor turn it to pick what to do
An ODT document as one web page.Headings, lists, tables, links and footnotes carry over. Page layout does not.
What you get
One standalone HTML page. The headings, emphasis, lists, tables, links and footnotes from the ODT are in it.
Images are embedded in the page, so the result is a single file and not a page with a folder of pictures beside it.
What it leaves behind
Page layout, fonts and colors are dropped. The page keeps the structure of the text, not the look of the printed document.
If you need to go the other way, HTML to ODT turns a web page back into a text document.
When a conversion stops
A file that cannot be parsed stops the conversion with
input_corrupted. This code means the ODT could not be read as a document.
ODT and HTML.What each format is.
The formats
OpenDocument Text
OpenDocument text, the native format of LibreOffice Writer and an ISO standard.
- Extensions
- .odt
- MIME type
- application
/vnd .oasis .opendocument .text - Kind
- Documents
HTML
The markup of web pages. Text, links and structure, usually with CSS and images alongside.
- Extensions
- .html .htm
- MIME type
- text
/html - Kind
- Text and data
In your code.The same ODT to HTML conversion through the API, for your app or your agent.
$ cv convert report.odt report.html$ cv convert report.odt report.htmlQuestions.What people ask about ODT to HTML.
Yes. Headings, emphasis, lists, tables, links and footnotes are kept in the page.
Yes. Images are embedded in the HTML page, so you get one file.
No. Page layout, fonts and colors are dropped. Only the structure of the content is kept.
The file could not be parsed. The conversion stops with this code when the ODT cannot be read.