Video demo
Text, Code & JSON Diff Studio
Compare revisions with Myers line, word, or character diffing in split or unified views, compute order-independent structural JSON object diffs, and export unified .diff patches.
Line / Word / Char Diff & Unified .diff Patch: Compare source code or prose in side-by-side split or unified views with whitespace/case toggles and downloadable Git .diff patches.
| 1 | - export function parsePort(raw: string): number { | 1 | + export function parsePort(raw: string, fallback = 8080): number { |
| 2 | - const port = Number(raw) | 2 | + const port = Number.parseInt(raw, 10) |
| 3 | - return port || 3000 | 3 | + if (!Number.isInteger(port) || port < 1 || port > 65535) { |
| 4 | + return fallback | ||
| 5 | + } | ||
| 6 | + return port | ||
| 4 | } | 7 | } |
What is Text, Code & JSON Diff Studio?
Diff, Merge & Patch Studio compares text and source code at line, word, or character granularity in split or unified views, exports standard Git .diff patches, and performs order-independent structural JSON diffing across nested API payloads.
- 1
Choose Text/Code Diff or Structural JSON Diff
Paste baseline (A) and candidate (B) versions.
- 2
Configure whitespace/case or inspect JSON key paths
Spot subtle inline word edits or semantic JSON mutations regardless of key ordering.
- 3
Download unified .diff patch
Export unified diff files ready for git apply or code review.
- Compares unordered JSON payloads semantically by canonical key path.
- Supports line, word, and character-level diff highlighting locally.
Comparing staging vs production JSON API responses or feature-flag configs.
Reviewing contract clause revisions privately in the browser.
Text, Code & JSON Diff Studio consolidates related text, diff & markdown studios workflows into one cohesive, multi-mode browser studio — eliminating tab-hopping across fragmented single-purpose tools.
Every mode executes locally using Web APIs and audited client-side libraries, so private files, tokens, and source code never leave your device.
Continue this workflow with nearby browser-based tools so you can validate, convert, and ship output without context switching.
- Free text, diff & markdown studios tools category pageSee every browser-based text, diff & markdown studios workflow in one index.
- About this siteWho built these tools and why everything runs in your browser.
- Word Counter & Readability StudioMeasure word/character/sentence counts, reading & speaking times, 5 readability indices (Flesch, FK Grade, Gunning Fog, SMOG, Coleman-Liau), 1–3 word n-grams, and social character limits.
- Case, Slug & List Transform StudioConvert 12 identifier/prose cases, transliterate URL slugs, sort/dedupe/wrap/regex-filter multi-line lists, normalize CRLF/smart quotes, and convert Morse/NATO/ROT13.
- Markdown, Table & HTML StudioConvert GitHub Flavored Markdown ↔ DOMPurify-sanitized HTML, edit GFM tables in a visual spreadsheet builder, extract anchor TOCs, and export standalone HTML5 documents.
- Angle, COGO Resection, Traverse & Highway Curve StudioConvert 15 angular units (DD, DMS, Gon, Rad, NATO Mils, Quadrant Bearings), balance Bowditch polygon traverses, solve Bearing–Bearing intersections, Baseline Stakeouts & 3-Point Tienstra Resections, and compute horizontal & parabolic vertical highway curves.
Text, Code & JSON Diff Studio FAQs
Quick answers about the workflow, privacy, and where this tool fits in a broader job.
Will reordered JSON keys trigger false positives in JSON Diff mode?
No. Structural JSON Diff parses both objects and compares key paths independent of serialization order.
Related free tools
Keep the workflow moving with nearby tools that solve the next likely step.
Word Counter & Readability Studio
Measure word/character/sentence counts, reading & speaking times, 5 readability indices (Flesch, FK Grade, Gunning Fog, SMOG, Coleman-Liau), 1–3 word n-grams, and social character limits.
Explore free word counter & readability studio
Case, Slug & List Transform Studio
Convert 12 identifier/prose cases, transliterate URL slugs, sort/dedupe/wrap/regex-filter multi-line lists, normalize CRLF/smart quotes, and convert Morse/NATO/ROT13.
Explore free case, slug & list transform studio
Markdown, Table & HTML Studio
Convert GitHub Flavored Markdown ↔ DOMPurify-sanitized HTML, edit GFM tables in a visual spreadsheet builder, extract anchor TOCs, and export standalone HTML5 documents.
Explore free markdown, table & html studio
Angle, COGO Resection, Traverse & Highway Curve Studio
Convert 15 angular units (DD, DMS, Gon, Rad, NATO Mils, Quadrant Bearings), balance Bowditch polygon traverses, solve Bearing–Bearing intersections, Baseline Stakeouts & 3-Point Tienstra Resections, and compute horizontal & parabolic vertical highway curves.
Explore free angle, cogo resection, traverse & highway curve studio
Last updated:
Tested in Chrome, Firefox, and Safari on desktop and mobile.