Markdown Previewer
Write Markdown on one side and see the rendered output update live on the other.
Rendering happens in your browser, so drafts and internal documentation stay on your device.
This tool runs entirely in your browser
This tool runs entirely in your browser. The data you paste is processed on your device and never sent to Filorra.
That is not a small detail for developer tools. API responses, tokens, config files, and log excerpts routinely contain credentials and customer data, and pasting them into a server-side tool means disclosing them to a third party.
How to use Markdown Previewer
Write or paste Markdown
The preview updates as you type.
Check the rendering
Confirm headings, lists, links, and code blocks appear as intended.
Copy your source
Take the Markdown to wherever it will be published.
Markdown has dialects, and they disagree
A document that renders correctly in one place and breaks in another is usually running into flavour differences rather than a mistake in your syntax.
The original 2004 Markdown specification left many cases undefined, so implementations diverged. CommonMark was created to pin down a strict, unambiguous standard. GitHub Flavored Markdown builds on it with tables, strikethrough, task lists, and automatic link detection — none of which exist in the original.
The practical consequences show up in a predictable set of features: tables, footnotes, syntax-highlighted code fences, and heading anchors are all extensions rather than core Markdown. If your target platform does not support them, they render as literal text. Check what the destination supports before relying on anything beyond headings, lists, links, emphasis, and code.
The line break problem
This confuses nearly everyone at first, because Markdown does not treat a single newline the way a text editor implies it will.
Pressing Enter once does not create a line break. Consecutive lines are joined into a single paragraph, because the format was designed so that text could be hard-wrapped in a plain editor without affecting the output.
To get a genuine break, either leave a blank line — which starts a new paragraph — or end the line with two trailing spaces, which produces a `<br>`. The two-space convention is invisible in most editors and is deleted by many "trim trailing whitespace" settings, which is why it fails intermittently. A blank line is the more dependable choice, and some renderers offer a setting to treat single newlines as breaks.
Rendering untrusted Markdown safely
Worth knowing if you are building anything that renders Markdown supplied by users.
Markdown permits inline HTML by design, so a document can contain a `<script>` tag or an event handler attribute. A renderer that passes HTML through unfiltered gives anyone who can submit Markdown the ability to run JavaScript on your page.
The defence is to sanitise the rendered HTML with a library such as DOMPurify, or to disable raw HTML in the renderer. Do not attempt to filter the Markdown source with pattern matching — the encodings and edge cases are more numerous than they appear, and this is a well-trodden way to ship a vulnerability.
When to use Markdown Previewer
- Checking a README renders correctly before pushing it.
- Drafting documentation and seeing the structure as you write.
- Verifying that tables and code blocks are formatted properly.
- Learning Markdown syntax with immediate feedback.
Common problems
- My line breaks are being ignored.
- A single newline does not create a break. Use a blank line for a new paragraph, or end the line with two spaces for a hard break.
- My table renders as plain text.
- Tables are a GitHub Flavored Markdown extension, not core Markdown. The destination platform may not support them.
- The list is not formatting properly.
- Lists need a blank line before them, and nested items require consistent indentation — usually two or four spaces.
- My code block lost its syntax highlighting.
- Specify the language after the opening fence, and check that the target platform supports highlighted fences.
Frequently asked questions
- Is my Markdown sent to a server?
- No. Rendering happens in your browser, so unpublished drafts and internal documentation stay local.
- Why are my single line breaks ignored?
- Markdown joins consecutive lines into one paragraph by design. Use a blank line, or two trailing spaces for a hard break.
- Will this match how GitHub renders my README?
- Closely for standard syntax. GitHub adds its own extensions and styling, so check anything unusual there directly.
- Can I use HTML inside Markdown?
- Markdown allows inline HTML, though many platforms strip it for security. Never render untrusted Markdown without sanitising the output.
Learn more
Guides and answers that explain how this tool's job actually works.