Markdown to HTML Converter (Live Preview)

Type Markdown on the left, and the HTML code and preview update as you type. GitHub-style tables, task lists and code blocks are supported.

Output

Loading the conversion engine…

How to use the Markdown to HTML Converter

  1. Write Markdown in the input box on the left, or paste in the contents of a README.md file.
  2. Check how it will look in the Preview on the right, and see the generated tags in the HTML code tab.
  3. Click Copy HTML to paste it into a blog's HTML editor or an email template, or click Save as .html file and open the file in your browser.
  4. Your work is saved automatically in this browser, so it will still be there when you come back.

Markdown cheat sheet (common syntax)

ElementMarkdownHTML output
Headings# Heading 1, ## Heading 2<h1>, <h2>
Bold / italic**bold**, *italic*<strong>, <em>
Strikethrough~~deleted~~<del>
Link[Tooljip](https://tooljip.com)<a href>
Image![alt text](image-url.png)<img>
Lists- item, 1. item<ul>, <ol>
Task list- [x] doneList with checkboxes
Blockquote> quote<blockquote>
Inline code`code`<code>
Code block```js … ```<pre><code>
Table| Name | Value |
|---|---|
<table>
Horizontal rule---<hr>

How Markdown becomes HTML, and what to watch for

Markdown marks up a document's structure with plain-text symbols that are easy for people to read, and a converter turns those symbols into HTML tags. Tooljip uses the GitHub Flavored Markdown (GFM) rules of the widely used marked library, so the output closely matches what you see in a GitHub README.

  • Line breaks: Pressing Enter once keeps the text in the same paragraph. To start a new paragraph, leave a blank line.
  • Nested lists: Indent sub-items with 2 to 4 spaces.
  • Special characters: To show * or # literally, put a backslash in front of it (\*).
  • Raw HTML: You can mix HTML tags into your Markdown, and they are kept as-is in the output.

The preview is safely sandboxed

Even if Markdown you copied from somewhere else contains code such as <script>, Tooljip shows the preview in an isolated area (a sandboxed iframe) that does not run scripts. Just viewing the preview can't affect your browser.

Publishing the converted HTML on your own website is a different story, though. If you accept Markdown from other people on a forum or web app, always sanitize it on the server so that only allowed tags are kept.

Use it for blog posts and READMEs

GitHub READMEs, Notion and Obsidian notes, and many developer blogs are written in Markdown. On the other hand, some blogging platforms and email newsletter editors accept only HTML. Draft quickly in Markdown, generate the HTML here and paste it in, and you can save a lot of formatting time. Want to check the length of your text? Try the character counter.

Frequently asked questions

Can I use this to preview a GitHub README?
Yes. It supports GitHub Flavored Markdown (tables, task lists, strikethrough and autolinks), so most READMEs look the same. GitHub-only features such as automatic issue-number links, math formulas and diagrams are not supported.
What does "Save as a complete HTML document" change?
When it is checked, the file includes <html>, <head>, the UTF-8 character encoding and basic styles, so you can open it straight in a browser. When it is unchecked, only the body tags are saved, which is handy for inserting into another page.
Is my Markdown saved?
Your work is saved automatically in this browser only and is never sent to a server. Clicking Clear also deletes the saved content.
Can it convert HTML back to Markdown?
No. It currently converts only from Markdown to HTML. Converting HTML code to Markdown is not available.
Is it free, and do I need an account?
It is free to use and doesn't require sign-up. The conversion happens in your browser.

Last updated: 2026-10-06