FileGizmo Text tools
Convert Markdown to HTML
Convert CommonMark Markdown to safe HTML locally, with embedded HTML and dangerous links disabled. Paste from anywhere without importing a script with it.
Complete
Your result is ready
Simple by design
Markdown to HTML in three steps
FileGizmo converts CommonMark Markdown into HTML entirely in your browser. Paste headings, lists, links, quotes, emphasis, and fenced code, then choose an HTML fragment or a standalone document. The standalone option adds a UTF-8 declaration, responsive viewport metadata, a title, and restrained readable styles without external assets.
Safety is intentional. Embedded raw HTML is not enabled, and dangerous URL protocols are blocked by the Markdown parser defaults. This prevents pasted <script> elements or javascript: links from becoming active output. The preview is isolated in a sandboxed frame and the source HTML remains available as text for inspection. These defaults prioritize safe notes and documentation over raw-HTML passthrough.
Conversion runs in a worker and produces an HTML blob with the correct filename and MIME type. Copy the generated markup or download it for a static page, documentation system, or further editing. Review links and complex Markdown extensions before publishing: the converter targets portable CommonMark rather than every platform-specific extension, plugin, or custom component syntax.
The conversion follows CommonMark, so the result matches what most editors and static site generators produce rather than one project’s dialect. Headings, lists, links, emphasis, code blocks, and tables all come out as the standard elements, which is what makes the output safe to paste into an existing page.
Embedded HTML is disabled and dangerous links are stripped. Markdown normally allows raw HTML to pass straight through, which means a <script> tag in the source becomes a script tag in the output. That is fine when you wrote the Markdown and a serious problem when you did not, so it is turned off here.
Link protocols are checked as well. A javascript: URL written as an ordinary-looking link is a common way to smuggle code into a page that accepts user Markdown, and those are removed rather than rendered.
The usual reasons are moving a README into a CMS, converting notes into something a mail client will render, and checking how a document will look before committing it. The output is plain HTML with no wrapper, no classes, and no styling, so it inherits whatever it is pasted into.
Conversion runs in the page. Documentation drafts and internal notes are the bulk of what gets converted, and neither should pass through a stranger’s server on the way.
- 1
Paste Markdown into the editor
- 2
Convert it with safe CommonMark defaults
- 3
Preview copy or download the HTML
Good to know
Frequently asked questions
Which Markdown syntax is supported?
CommonMark headings lists links quotes emphasis code and fenced code blocks are supported.
Is raw HTML executed?
No. Embedded HTML is encoded by default rather than passed through as active markup.
Are unsafe links allowed?
No. Dangerous protocols such as javascript links are blocked by the parser defaults.
Can I download a complete HTML document?
Yes. Choose a fragment or a standalone UTF-8 document with minimal readable styles.