Compare two text blocks and highlight exactly what changed.
Free online text diff checker. Paste two versions of any text, code, JSON, YAML, or SQL into the left and right panels and compare instantly. View changes in side-by-side split mode or classic unified diff mode. Highlights added, removed, and modified lines with optional word-level and character-level inline highlighting. Supports ignore whitespace and ignore case options. Export a standard .patch file or share results via a compressed URL. Runs entirely in your browser — no data is ever sent to a server.
Keywords: text diff, diff checker, diff viewer online, compare text online, online diff, unified diff, side by side diff, code diff, file compare, text compare, diff tool, patch generator, json diff, yaml diff, line diff, word diff
Tags: diff, compare, text, patch, changes, merge
Paste the original version of your text into the left input panel (ORIGINAL).
Paste the updated version into the right input panel (MODIFIED).
Click Compare or press ⌘↵ to generate the diff instantly.
Switch between Split view (side-by-side) and Unified view using the mode toggle.
Copy the standard unified diff patch with ⌘⇧C, download it as a .patch file, or share your diff via a compressed URL.
Side-by-side split view with synchronized scrolling for easy visual comparison
Unified diff view with standard +/- line notation (compatible with git diff output)
Line-level diff with added/removed/context line highlighting
Word-level inline diff: highlights the exact words that changed within a modified line
Character-level inline diff: pinpoints single-character changes for precision review
Ignore whitespace option: strips leading/trailing and internal space differences
Ignore case option: performs case-insensitive comparison
Configurable context lines: show 1–50 surrounding lines for each change hunk
Similarity score: percentage similarity between both texts
Export standard unified diff (.patch format) compatible with git apply and patch
Shareable URLs: gzip-compresses both inputs into a URL for team sharing
Works entirely in your browser — no data is sent to any server
Master .env formatting rules, resolve multiline string and certificate escaping bugs, manage .env precedence, and prevent secret leaks in CI/CD.
Resolve minified JavaScript bundle errors back to original TypeScript source code using VLQ-decoded source maps, hidden source maps, and stack trace resolvers.
A comprehensive developer guide to identifying and fixing GitHub Actions YAML syntax errors, matrix build bugs, expression interpolation traps, and concurrency race conditions.
Master epoch timestamps, millisecond vs microsecond precision, RFC 3339 / ISO 8601 formatting, UTC storage rules, and prevent subtle timezone bugs across databases and APIs.
Master JSON formatting, RFC 8259 compliance, JSON Schema Draft 2020-12 validation, safe 64-bit integer handling, and high-throughput Node.js streaming.
Diagnose and fix syntax errors, missing resource limits, selector mismatches, and schema validation failures in Kubernetes manifests before deployment.
Resolve Git merge and rebase conflicts with confidence. Master standard vs diff3 conflict markers, 3-way merge logic, and conflict prevention strategies.
Translate Docker Compose stacks into production-ready Kubernetes manifests. Map services to Deployments, host volumes to PVCs, and env files to ConfigMaps.
A developer guide to Protocol Buffers wire format, decoding varints, resolving tag mismatches, and debugging corrupt binary gRPC and Kafka streams.
Understand NFA regular expression engine backtracking, diagnose exponential runtime traps, and fix Regular Expression Denial of Service (ReDoS) vulnerabilities.