TheTools.World tool
Markdown preview online
Write or paste Markdown and preview it as formatted HTML: headings, bold and italic text, inline code, code blocks, lists, links, and blockquotes. This is a lightweight preview covering the common Markdown syntax, not a full CommonMark implementation.
Preview Markdown
Write or paste Markdown and preview it as formatted HTML: headings, bold and italic text, inline code, code blocks, lists, links, and blockquotes. This is a lightweight preview covering the common Markdown syntax, not a full CommonMark implementation.
How to preview Markdown
- Type or paste your Markdown into the box.
- Click Preview.
- Check the rendered preview against what you intended.
- Adjust your Markdown source and preview again as needed.
- Copy your Markdown source into your target platform once it renders as expected.
Supported syntax: # to ###### headings, **bold**, *italic*, `inline code`, fenced code blocks, - or * unordered lists, 1. ordered lists, [text](url) links, > blockquotes, and --- horizontal rules. Nested lists and tables are not supported.
What this supports and how it works
Your Markdown is first HTML-escaped for safety, then converted step by step: code fences and inline code are protected first so their contents aren't reformatted, then headings, bold/italic, links, and lists are converted to their HTML equivalents, and finally remaining text is wrapped into paragraphs. Link URLs are checked against a safe-scheme allowlist (http, https, mailto, relative paths, and anchors) before being rendered, so a link can't be used to inject an unsafe address.
Best practices
- Use it to sanity-check Markdown before pasting into a platform that renders Markdown, like a README, comment, or wiki page.
- Keep formatting simple for the most reliable results: headings, bold/italic, single-level lists, links, and code blocks all render well.
- Check links after previewing, since URLs are sanitized against unsafe schemes and a link with an unexpected scheme will render as a dead "#" link.
Common mistakes to avoid
- Expecting full CommonMark or GitHub Flavored Markdown support. Tables, nested lists, footnotes, task-list checkboxes, and strikethrough are not supported by this lightweight preview.
- Using a link URL that contains a literal closing parenthesis, like a link to a Wikipedia article with parentheses in the title — this can confuse the simple link-parsing pattern and cut the link short. Use a shortened or percent-encoded URL if this happens.
- Assuming the preview matches every platform's Markdown rendering exactly. Different platforms (GitHub, forums, note apps) have their own Markdown flavors with small differences.
Real-world use cases
- Drafting and previewing a README file before committing it.
- Checking formatted output for a forum post, wiki page, or documentation comment that supports Markdown.
- Learning Markdown syntax by experimenting and seeing the rendered result immediately.
- Quick-checking a snippet of Markdown pulled from a template or generated by a tool.
Limitations
This is a lightweight Markdown subset, not a full CommonMark or GitHub Flavored Markdown implementation. It does not support tables, nested lists, footnotes, task-list checkboxes, strikethrough, or definition lists. Link URLs containing an unescaped closing parenthesis can be parsed incorrectly, a known limitation of simple regex-based link matching (see the URL encoder if you need to percent-encode a URL with special characters first).
Privacy
Markdown you enter is processed and rendered locally in your browser. It is not sent to a server, logged, or stored. See the privacy policy for the site's full data handling approach.
Troubleshooting
- If a link looks cut short, check whether its URL contains an unescaped closing parenthesis.
- If a table or nested list doesn't render as expected, that's expected — those features aren't supported by this lightweight preview.
- If a link renders as a dead "#" link, its URL likely used a scheme outside the safe allowlist (http, https, mailto, relative paths, or anchors).
Conclusion
Use this preview to check common Markdown formatting before publishing it elsewhere. For more advanced Markdown features (tables, nested lists), verify directly on your target platform, since this is a lightweight subset preview.
Related tools
FAQ
Does this support Markdown tables?
No. Tables are not supported by this lightweight Markdown subset. Consider checking table rendering directly on your target platform.
Is this safe to use with untrusted Markdown?
Input is HTML-escaped before conversion and link URLs are checked against a safe-scheme allowlist, so the preview does not execute scripts from pasted content.
Why did my link get cut off?
If the link's URL contains an unescaped closing parenthesis, the simple link-matching pattern can end the link early. Try a shortened or percent-encoded URL.
Is my Markdown uploaded anywhere?
No. Conversion and rendering happen locally in your browser, and your text is not sent to a server.