Markdown to HTML converter
Render a Markdown file as HTML, as a fragment or a complete page.
Processed in your browser. This file is converted on your device and is never uploaded.
Converter
.md, .markdown up to 25 MB. You can also drag a file here.
No file selected.
About this tool
Markdown is comfortable to write but browsers do not render it. This tool converts a Markdown file to HTML, either as a fragment you can paste into an existing page or as a complete standalone document.
GitHub Flavored Markdown is supported, so tables, strikethrough, task lists, and automatic links all work. A sanitized preview of the result is shown after conversion.
Supported formats and limits
- Input
- .md, .markdown
- Output
- .html (text/html)
- Output name
- The original name with the new extension, for example data.md becomes data.html.
- File size limit
- 25 MB
- Processing
- In your browser. The file is not uploaded.
How to use it
- Choose a .md or .markdown file, or switch to Paste text and paste the Markdown directly.
- Decide whether you want a complete HTML page or just the fragment.
- Select Convert, review the preview, then download the .html file.
Limitations
- Raw HTML in your Markdown is passed through to the downloaded file unchanged, including any scripts it contains. Review the output before publishing it. The on-page preview is sanitized, so it will not show the same result as the file in that case.
- No CSS is included. The output is unstyled semantic HTML.
- Images and links keep their original paths, so relative ones only resolve if the HTML sits where the Markdown did.
- Front matter at the top of the file is not recognised and appears as body text.
- Extensions beyond GitHub Flavored Markdown, such as footnotes, definition lists, and math, are not supported.
Frequently asked questions
- Is my file uploaded?
- No. The conversion runs entirely in your browser. The file never leaves your device and no request carrying its contents is made.
- Why does the preview differ from the downloaded file?
- Only when your Markdown contains raw HTML. The preview is sanitized before it is inserted into this page, so scripts and event handlers are stripped from it. The file keeps them, because the output has to stay faithful to your input.
- Are tables supported?
- Yes, along with the rest of GitHub Flavored Markdown.
- Can I add my own styling?
- Produce a complete page and add a stylesheet link to the head afterwards, or paste the fragment into a page that already has styles.