Does this preview the rendered output?
No. The tool diffs the Markdown source text, not the HTML a renderer would produce. That is intentional. Two documents can render to identical HTML and still have meaningfully different sources, for example bullets written with * versus - or bold written with ** versus __. Source-level diff preserves that signal. If you want to see how the document renders, paste it into your usual previewer like the GitHub web UI, VS Code, or your static-site generator.
How is this different from comparing rendered HTML?
A rendered-HTML diff tells you what readers will see. A source diff tells you what was changed in the file. They answer different questions. For Markdown, the source diff is almost always the more useful one because it shows the writer's edits faithfully: a heading level changed from ## to ###, a fenced code block switched language tags, a relative link became absolute. If you want HTML-level comparison, run both files through your renderer first and diff the output.
What about CommonMark vs GitHub Flavored Markdown ambiguity?
The diff itself does not parse Markdown, so it does not care which dialect you use. Tables, task lists, strikethrough, and autolink extensions all just look like text. Dialect only comes into it once you check how the page renders, and that is your renderer's call. CommonMark is the closest thing to a baseline spec, and GitHub Flavored Markdown is CommonMark plus tables, task lists, strikethrough, and autolinks. Pick whichever your target renderer supports.
How does it handle YAML or TOML frontmatter?
Frontmatter is just text at the top of the file, fenced by --- for YAML or +++ for TOML. Static-site generators like Hugo, Jekyll, and MkDocs use it for page metadata. The diff treats the block as ordinary text, so changes to title:, date:, or tags: show up like any other line. If your frontmatter is large and indent-sensitive, our YAML diff page is the better pick for that block in isolation.
Does it work for MDX or JSX inside Markdown?
Yes. MDX is Markdown with embedded JSX components, and the JSX is just more text from the diff's point of view. You can paste a .mdx file in either pane and the diff will surface changes to imports, component props, and the surrounding Markdown the same way it handles .md. The only thing the tool will not do is validate that your JSX compiles; that is the MDX compiler's job. For straight code review of the JSX bits, paste them into our text diff.
How are line endings (CRLF vs LF) handled?
They are treated as the same. The editor splits lines on CRLF, LF or a lone CR, so a README saved on Windows and the same file checked out on Linux show no changes, even though Git's core.autocrlf setting gave them different bytes on disk. Trailing spaces are another matter: in Markdown two trailing spaces are a hard line break, so they count by default. Turn on Ignore spaces in the options menu if you want them ignored.
Why do two Markdown files that render the same still show differences?
Because the diff compares characters, and Markdown has several ways to write the same thing. A renderer that rewrites **bold** as __bold__ (some Pandoc filters do) or swaps * bullets for - produces identical HTML and a noisy text diff. Dialect adds more: CommonMark is the strict baseline, GitHub Flavored Markdown adds tables and task lists, and MDX adds JSX. To compare output instead, render both sides and use our HTML diff page.
Should I strip build-generated frontmatter fields before diffing?
Usually, yes. Frontmatter is the metadata block at the top, between --- lines for YAML (Hugo, Jekyll, Astro), +++ for TOML (Hugo TOML mode), or ;;; in some setups. The text diff sees frontmatter and body as one stream, so a date update or tag reorder shows up alongside body changes. For SEO-significant fields like title, description, or slug, that is good. For volatile fields (updated_at, build hashes), strip them before diffing. Hugo and Jekyll _config.yml define which fields rotate per build.
Is it free, and do I need to sign up?
Free, with nothing to sign up for and no Pro tier hiding the useful options. Upload, Sample, Ignore spaces and the rest are all there on your first visit. The page runs as client-side JavaScript, so once it has loaded it keeps working with the network off, handy when you are editing docs on a train. Signing in is optional and only adds a list of the comparisons you have shared.
How is this different from GitHub's diff or a tool like StackEdit or Dillinger?
GitHub's diff is great when both versions already live in a repo, but it leans toward the rendered view and you have to dig for the raw source. StackEdit and Dillinger are Markdown editors with live preview, not diff tools. This page does one thing: a side-by-side source diff of two documents you paste, with nothing uploaded unless you choose to share it. Reach for it when the two versions are in clipboards, not in a branch.
Can I upload two .md files instead of pasting?
Yes. Click Upload on either pane and pick a .md, .markdown, or .mdx file. The browser reads it locally through the File API and drops the text straight into the editor, so opening the file sends nothing over the network. Uploading one side and pasting the other is common too: the committed README loaded from disk against a draft pasted from an editor.
Can I compare more than two Markdown files at once?
No, two at a time. To reconcile a doc across main and two feature branches, run it twice: the base against branch A, then the base against branch B. Each run tells you what one branch did to the doc, which is the question you usually need answered before a merge, and two passes over a README take a couple of minutes at most.
Is it safe to paste private notes or unpublished drafts?
Yes, as long as you skip Share. The diff runs entirely in your browser, so comparing never sends your text to a server. There is no logging of pane contents and no analytics on what you type. That makes it fine for an unreleased blog post, internal runbooks, or personal notes you would not want sitting in someone's logs. If you want to confirm it, open your browser's DevTools and check the Network tab: no request carries the text you paste. Share is different, since it saves both drafts on our secure servers until the link expires, so keep it for text you are happy to hand out.