Compare text, code, lists, HTML, LaTeX, and Markdown
Pick the option that matches your input. Code Diff Checker and LaTeX Diff focus on source files and patches. HTML Diff Checker and Markdown Diff Checker add rendered previews. Text Difference Checker compares wording at word, line, or character level, while Compare Lists checks which unordered items appear in each list.
Compare source files and patches
- Code Diff Checker compares two code snippets or files with syntax highlighting and line numbers. Choose a side-by-side or unified diff view, collapse unchanged line runs, and adjust whitespace controls. Copy the patch for another review or file.
- LaTeX Diff compares two
.texsource files. Optional comment and whitespace normalization change what appears in the source diff. The marked-updiff.texoutput usesDIFaddandDIFdelmarkup.
Compare HTML and Markdown by document structure
- HTML Diff Checker compares two HTML documents as source and provides sanitized, sandboxed before-and-after rendered previews. Use width presets, shared Zoom, and structural highlights to inspect layout changes alongside the markup.
- Markdown Diff Checker compares Markdown documents or
.mdfiles by semantic blocks, including headings, paragraphs, list items, tables, and fenced code. It shows a source diff with sanitized rendered previews, block and word highlighting, and whitespace-noise controls.
Compare plain text or list membership
- Text Difference Checker compares two texts at word, line, or character level. It highlights changes, deletions, and additions, then displays similarity results. Use it for prose or plain text when the comparison level is the main choice.
- Compare Lists treats two unordered plain-text lists as collections of items. It reports entries only in List A, only in List B, in both lists, and duplicates within each list. Controls cover case, whitespace, blank lines, and sorting.
Choose the comparison view for the job
Use Code Diff Checker when a code review needs line numbers, syntax highlighting, or a patch. Use LaTeX Diff when the source is a .tex file and the output needs LaTeX change markup. For HTML or Markdown, the matching diff checker pairs source differences with rendered previews.
Use Text Difference Checker when wording changes need word-, line-, or character-level highlights. Use Compare Lists when you need to check membership or duplication in two unordered lists. This page sits under the Text Tools category.
Typical jobs
- A developer checks a revised function against the previous file, then copies the patch or collapses unchanged lines during review.
- An editor compares two drafts and switches between word-level and line-level differences to inspect a sentence edit or moved paragraph.
- A researcher compares two
.texfiles after revising a paper and downloads the marked-updiff.texfile for the next LaTeX step. - A content maintainer checks changed HTML or Markdown, reviewing both the source and the rendered before-and-after result for a page update.
Where to start when the format is unclear
Start with Text Difference Checker for ordinary prose or plain text. Choose Compare Lists when each line represents an unordered item. For code, HTML, LaTeX, or Markdown, choose the matching format-specific tool.
Frequently asked questions
Which tool should I use to compare code?
Use Code Diff Checker to compare code snippets or files with syntax highlighting, line numbers, side-by-side or unified views, and whitespace controls. It also has a patch copy action.
How do I compare two unordered lists?
Use Compare Lists to see items only in List A, only in List B, in both lists, and duplicates within each list. Its controls cover case, whitespace, blank lines, and sorting.
Can I compare HTML or Markdown with a rendered preview?
Yes. HTML Diff Checker and Markdown Diff Checker provide source comparisons plus sanitized rendered before-and-after previews. HTML Diff Checker adds width presets and structural highlights. Markdown Diff Checker groups changes by semantic blocks.
What is the difference between Text Difference Checker and Compare Lists?
Text Difference Checker compares prose or plain text at word, line, or character level. Compare Lists compares unordered items and reports membership and duplicates.