Text Diff Checker

Compare two blocks of text and highlight additions, deletions, and changes.

The Text Diff Checker compares two blocks of text line-by-line using a Longest Common Subsequence algorithm, highlighting exactly what was added, removed, or left unchanged. Ideal for comparing code revisions, configuration files, documents, or any plain text content — no external libraries required.

About This Tool

How to Use
  1. Paste your original text in the left panel
  2. Paste the modified text in the right panel
  3. Click Compare to see the differences
  4. Toggle between side-by-side and inline views
Common Use Cases
  • Comparing code changes before committing
  • Reviewing configuration file differences between environments
  • Checking text edits in documents
  • Verifying data migration results
Tips & Tricks
  • Green highlights show additions, red shows deletions
  • Use inline mode for a more compact view of changes
  • Works with any text — code, prose, configuration, data

You might also like

Text Case Converter

Easily convert text between uppercase, lowercase, title case, sentence case, and more. Perfect for content editors, writers, and anyone who needs quick text formatting.

JSON Formatter & Validator

Paste JSON to pretty-print, validate, minify, and explore. Click any node in the tree view to copy its JSONPath expression — perfect for building API queries.

Prettier Code Formatter & Colorizer

Reformat and colorize your code using Prettier and react-syntax-highlighter. Easily convert messy code into a clean, readable format with syntax highlighting.

Base64 Decoder

Decode and encode Base64 payloads instantly. Supports iterative decoding for multi-layered encoded data — essential for debugging APIs and data pipelines.