Markdown to HTML Converter
Paste Markdown or open a local file. Preview the result, copy the HTML for your site, or download a complete HTML page.
Markdown
Local conversionUTF-8 .md, .markdown or .txt files up to 512 KiB.
HTML result
Your converted document appears here.
Links and images are inactive in the preview. Their supported URLs remain in the export.
Loading the converter…
How to convert Markdown to HTML
- Paste a Markdown draft into Markdown source or select Open file for an existing Markdown document. Use Load example to see a table, checklist and code block before trying your own text.
- Review the rendered result in Preview. Switch to HTML code to see the tags the converter produced. The result updates as you edit the source.
- Choose Copy HTML for the content of the page, or Download .html for a full document you can open directly in a browser.
When to copy the fragment or download the page
If a blog editor has an HTML or source mode, paste the fragment there. It contains the content tags, such as headings, paragraphs and lists, so the destination can apply its own styles. In a WordPress custom HTML block, for example, copy the fragment instead of pasting a second document wrapper into the existing page. Check the destination preview because some editors filter tags or apply their own formatting.
Download the full page when you need an HTML file for a review, a local archive or a handoff. It includes the document wrapper, character encoding and a simple stylesheet. Open the file in a browser or in the HTML Viewer to check the result. Links and images may still refer to remote resources or files in a relative folder; exporting does not bundle those resources into the download.
Worked example: hand a Markdown draft to a web editor
Suppose your draft starts with ## Release notes, followed by two bullet points and a table of changes. The heading becomes a second-level HTML heading, the bullet points become list items, and the rows become an HTML table. Copy that fragment into your editor’s source field, then check that its heading level fits the rest of the page.
## Release notes
- Add a Markdown converter
- Keep source files on the device
A code fence keeps sample code literal. For example, an HTML tag shown inside a fenced block will display as code instead of being inserted as an element. Blank lines create separate paragraphs; a single line break within a paragraph can collapse to a space when displayed. Review the output when converting poetry, addresses or content that depends on exact line breaks.
What the conversion keeps
The converter supports common GitHub-flavored Markdown, including headings, emphasis, lists, blockquotes, links, fenced code, tables, strikethrough and task lists. The preview uses simple styles to make the structure readable. It does not reproduce GitHub’s full interface or the stylesheet of your publishing platform.
Raw HTML tags are removed and raw HTML blocks are omitted. For an existing HTML file you want to keep as HTML, use the HTML Formatter. If you need a printed copy instead of web markup, use Markdown to PDF.
Frequently asked questions
Can I convert a Markdown file instead of pasting text?
Yes. Open a UTF-8 .md, .markdown or .txt file up to 512 KiB. It replaces the current source in the editor and is converted on the page.
Does the converter upload my Markdown?
CalcWren reads the file and converts its content in your browser. It does not send the document to a conversion service. Links and images in the preview are inactive.
What is the difference between Copy HTML and Download .html?
Copy HTML gives you the fragment that belongs inside an existing web page. Download .html gives you that content inside a complete document with a title and basic styles.
Why are images not shown in the preview?
The preview does not fetch image URLs. The export keeps supported image references. They can load when you open the exported file or publish the HTML, if the referenced images are available there.
Does raw HTML inside Markdown carry over?
Raw HTML tags are stripped and raw HTML blocks are omitted. The converter also filters the generated markup so scripts and unsafe links are not included.
Can I use the result in a CMS?
Yes. Copy the fragment and paste it into a source editor or a custom HTML block. Preview it in the CMS to see how that site styles the content and which elements its editor permits.