MARKDOWN -> HTML · Local tool
Markdown to HTML
Convert Markdown to HTML, as a fragment or a whole styled page.
Last updated
How do I convert Markdown to HTML?
Paste the Markdown into filetity's converter and the HTML appears beside it with a live preview underneath, all inside the browser tab with nothing uploaded. It is parsed in GitHub flavour, so tables, fenced code blocks, task lists and autolinked URLs all work, because that is the Markdown people actually write. You can take just the converted content, for pasting into a template you already have, or a complete page with a doctype and a small stylesheet written into the file rather than linked from a CDN, so it opens correctly with no network. The preview renders inside a sandboxed frame, which is the only way to be faithful to Markdown's rule that raw HTML passes through and still not execute a script somebody pasted.
01 / Your device
the file stays here
02 / Browser memory
the work runs locally
03 / Back to you
saved on this device
When you would use this
Situations, not settings.
- A README that has to go on a web page
- Take the fragment for a template you already have, or the whole styled page when you just want a file somebody can open.
- Notes written in Markdown that need sending as HTML
- Email and CMS boxes want HTML. The preview shows exactly what will arrive before you paste it anywhere.
- Checking how a document will render before committing it
- GitHub flavour, so tables, fenced code and task lists behave the same way they will on the repository.
How it works / no cloud
A conversion engine, not an upload form.
Parsed with marked in GitHub flavour, so tables, fenced code blocks and task lists all work. The preview is rendered inside a sandboxed iframe that cannot run scripts, which is the only way to both render raw HTML faithfully, as Markdown requires, and not execute it.
- Offline ready
- Installable app
- No file limit queue
Straight answers
No accordion. Nothing hidden.
- Is it free?
- Yes, with no watermark and no page limit.
- Does it need an account?
- No. There is no account system.
- Is my file processed on my device?
- Yes. The file is read by your browser and never uploaded. There is no server to send it to.
- What formats are supported?
- Markdown in, GitHub flavoured. HTML out, either a fragment to paste into a page or a complete document with a doctype and styling.
- What are the limits?
- No size limit beyond what a text box holds. The whole page option carries its own stylesheet inline rather than linking to one, so the file works with no network.
- Does it work on mobile?
- Yes, on any modern mobile browser. Large files are limited by the memory the phone gives the browser.
- Does it work offline?
- Yes, once the page has loaded. The tool keeps working with no network connection.
- Does it support tables and fenced code blocks?
- Yes, along with task lists, strikethrough and autolinked URLs. Those are GitHub's extensions rather than original Markdown, and they are what people actually write, so they are on by default rather than behind a setting.
- Why is the preview inside a frame?
- Because Markdown is defined to let raw HTML through, so removing a script tag from the output would make the conversion wrong. Rendering that output directly in the page would then run it. A sandboxed frame lets the preview be faithful and inert at the same time.
- What is the difference between the two output options?
- A fragment is just the converted content, for pasting into a page or a template you already have. A whole page adds a doctype, a character set, a viewport tag and a small stylesheet, so the file opens in a browser and looks like a document rather than unstyled text.
- Does a single line break become a new line?
- Only if you turn it on. Original Markdown joins consecutive lines into one paragraph, which surprises people who write one sentence per line. GitHub's comment boxes break on every newline. Both behaviours are correct in their own context, so it is a toggle.
- Does the styled page need an internet connection?
- No. The stylesheet is written into the file rather than linked from a CDN, so the page opens correctly on a machine with no network and does not stop working if somebody else's server goes away.
Keep working locally
3 available · more coming