1001Ferramentas
📂 Converters

Org-mode → HTML (basic)

Render simple Org-mode to HTML: asterisk headings, lists, /italic/, *bold* and #+BEGIN_SRC blocks.

HTML gerado:

Preview:

Org Mode to HTML

The Emacs exporter converts Org to HTML very well, but it requires Emacs open and the file loaded. When all you want is to reuse a fragment of a note somewhere else — pasting it into a page, sending it by email, filling a field that only takes HTML — opening the editor to export is too long a road.

Paste the Org and receive HTML, with a preview alongside. Converted are the three heading levels, marked by the number of asterisks at the start of the line; the hyphen list, which becomes an unordered list; and the block between BEGIN_SRC and END_SRC, which becomes a preformatted code block. Content is escaped before entering the HTML, so special characters in the text do not turn into markup.

What stays out is the part of Org that is not markup: task keywords, deadlines, tags, block properties and tables. Those rely on semantics Emacs knows, and several have no direct HTML equivalent. To export a full document, with a table of contents and header options honoured, the Emacs exporter remains the route.

Frequently asked questions

Does the TODO keyword show up in the HTML?
It shows up as ordinary text alongside the title, because the conversion does not distinguish a task keyword from the rest of the heading. The Emacs exporter gives it its own markup and can omit it by configuration. If your fragment contains tasks, it is worth cleaning them before or after converting.
Why did the code block lose its language?
Because the generated HTML uses the generic preformatted code elements, with no language class. To get syntax highlighting at the destination, add the class your highlighter expects — usually a class carrying the language name on the code element.
Can Org tables be converted?
Not here. An Org table is delimited by lines with pipes and carries its own features, such as column formulas. Converting requires handling the whole block, and the formulas have no HTML equivalent. The Emacs exporter handles the structural part.

Related Tools