Unformat.online
More tools
Clean Text
Strip smart quotes, zero-width characters, non-breaking spaces, and invisible Unicode from any pasted text.
Format JSON
Prettify or minify JSON. Auto-fixes single quotes, trailing commas, and unquoted keys.
Format SQL
Format SQL for MySQL, PostgreSQL, BigQuery, T-SQL, and more — uppercase keywords, proper indentation.
Format YAML
Format and validate YAML. Catches indentation errors in Kubernetes, Docker Compose, and GitHub Actions files.
Format XML
Indent and pretty-print XML. Works with SOAP, RSS, Maven POM, Android manifests, and SVG.
Markdown Viewer
Live split-view editor and renderer — edit on the left, preview on the right.
FileSQL
Drop a CSV or JSON file and query it with SQL instantly — no upload, no server.
Shredder
Remove EXIF, GPS, and author metadata from images and PDFs. Redact secrets from text and log files.
CronScope
Paste a cron schedule and see every run on a 12-month calendar. Never misread a cron expression again.
JWT Debugger
Decode JWTs instantly — view all claims, check expiry, and see the algorithm. Token never leaves your browser.
Base64
Encode text or files to Base64, or decode Base64 strings and preview images inline.
URL Encode / Decode
Encode URLs or decode percent-encoded strings like %20, %3D, %26 — instantly.
UUID Generator
Bulk-generate cryptographically random v4 UUIDs using crypto.randomUUID(). Copy one or all at once.
SSL Certificate Checker
Check any domain's SSL/TLS certificate — expiry, issuer, and Subject Alternative Names.
Text Diff Checker
Compare two texts, JSON payloads, or config files and see exactly what changed, line by line.

Text Diff Checker

Compare two blocks of text, JSON, config files, or code and see exactly what changed. 100% client-side — nothing you paste ever leaves your browser.

100% Private

The diff is computed entirely in your browser using JavaScript. Neither text ever touches a server — open DevTools' Network tab to verify zero requests.

Unified or Side-by-Side

Switch between a unified red/green diff (like git diff) or a two-column side-by-side view (like a code review tool) — whichever reads easier for the change.

Ignore Noise

Toggle Ignore Whitespace and Ignore Case to skip formatting-only differences and focus on the changes that actually matter.

How to Compare Two Texts

  1. Paste the original into the left box and the changed version into the right box.
  2. Review the diff below — it updates instantly as you type or paste, no submit button needed. Removed lines are red, added lines are green.
  3. Switch views or toggle options — use Side by side for a code-review-style layout, or enable Ignore Whitespace / Ignore Case to filter out noise.

What This Tool Is Useful For

A text diff checker is handy anywhere you need to spot the exact difference between two versions of something: comparing API responses before and after a change, checking whether two config files (Kubernetes manifests, environment files, .env templates) actually match, reviewing a small code change without opening git, or catching what a formatter or minifier altered.

Because everything runs client-side, it's safe to paste sensitive payloads — API responses with tokens, internal config, proprietary code — the text is compared in memory in your browser tab and discarded when you navigate away.

Frequently Asked Questions

Is my text sent to a server?

No. The diff is computed entirely in your browser. Neither the original nor the changed text ever leaves your device — confirm this by opening DevTools → Network tab while comparing.

Can I compare JSON, YAML, or code with this tool?

Yes — it works on any plain text, including JSON, YAML/config files, and source code. For JSON, formatting both sides first with the JSON formatter keeps whitespace differences from hiding the real changes.

What's the difference between unified and side-by-side view?

Unified view shows one column with removed lines in red and added lines in green, similar to git diff. Side-by-side view shows two aligned columns — original on the left, changed on the right — similar to a pull request review.

Why does Ignore Whitespace matter?

Re-indenting a file or copying text through an editor that trims trailing spaces can bury real edits under whitespace-only changes. Enabling Ignore Whitespace filters those out.