Text & JSON Comparison

Text & JSON Comparison Tool — Diff Any Format Online

Paste or upload two text files in any format — JSON, CSV, YAML, XML, Markdown, plain text — and DiffALL shows a character-level diff with every insertion, deletion, and change highlighted.

Free, no sign-up — your files never leave the comparison.

Expected

Drop file here or click to browse

JSON · CSV · YAML · XML · TXT · Markdown · LOG

 
Actual

Drop file here or click to browse

JSON · CSV · YAML · XML · TXT · Markdown · LOG

 

Free to use — no sign-up needed

API Keys

Use the comparison API from scripts and CI. Each call costs one credit.

    6+
    Supported text formats
    Char
    Character-level precision
    50 k
    Max characters per file

    What DiffALL measures

    🔤

    Character-Level Diff

    Inline character highlighting within changed lines — see exactly which letters or values were modified, not just which lines.

    🗂️

    JSON Structure Diff

    Recursively flattens both JSON files into dotted key paths and compares values — detects added keys, removed keys, and changed values across any nesting depth.

    📋

    Line-by-Line View

    Side-by-side or unified diff showing equal, changed, inserted, and deleted lines with line numbers.

    📊

    Similarity Score

    Overall text similarity percentage based on SequenceMatcher ratio — a quick headline number for how similar the files are.

    🔢

    Word Error Rate

    WER across the full document — useful for comparing documents that have been paraphrased or machine-translated.

    📌

    Paste Mode

    No file needed — paste text directly into both panels for instant comparison without uploading anything.

    Supported formats

    JSON CSV YAML XML TXT Markdown LOG

    Use cases

    API Response Diff

    Compare two JSON API responses to spot added, removed, or changed fields between versions.

    Config File QA

    Diff two YAML or JSON config files before deploying to catch accidental changes.

    Document Version Control

    Compare two versions of a plain-text document to review edits and track changes.

    Data Validation

    Verify that a CSV or XML export matches the expected schema and values.

    Frequently asked questions

    How do I compare two JSON files online?

    Upload or paste two JSON files into DiffALL. It recursively flattens both into dotted key-value pairs and shows which keys were added, removed, or changed — with character-level highlighting.

    What text formats does DiffALL support?

    JSON, CSV, YAML, XML, Markdown, plain text, and log files. Files up to 2 MB or 50,000 characters each.

    What is the difference between line diff and character diff?

    Line diff shows which lines changed. Character diff goes further — it highlights the specific characters within each changed line that are different.

    Can I compare text by pasting instead of uploading?

    Yes. DiffALL has a paste mode where you type or paste text directly into both panels — no file upload needed.

    Ready to compare text files?

    Free, no install, no sign-up required for your first comparison.

    Start comparing now ↑