📊
💻

Compare Code Snippets

Spot exactly what changed between two versions of a code snippet, config, or script.

Ingen inloggning krävs
Context:
Original (A)
Modified (B)
+3 added2 removed2 unchanged
Diff
+The quick brown fox leaps over the lazy dog.
The quick brown fox jumps over the lazy dog.
Pack my box with five dozen liquor jugs.
+How amazingly quick daft zebras jump!
How vexingly quick daft zebras jump!
The five boxing wizards jump quickly.
+Now is the time for all good men.

Code tips

💻

Paste two versions of a function, config file, or script to instantly see which lines were added, removed, or unchanged.

🔍

Use "Ignore whitespace" to focus on logical code changes and ignore indentation differences or trailing space cleanup.

📊

The context setting controls how many unchanged lines are shown around each change. Use "All" to see the complete file with changes highlighted.

💡

Great for comparing before/after of a refactor, or reviewing what changed in a dependency's source between versions.

Så här fungerar det

1
Ange
Enter your data into the tool above. Everything stays local to your browser.
2
Bearbeta
The tool processes your data instantly in your browser using JavaScript. No server, no waiting.
3
Ladda ner
Get your result instantly. Nothing is stored after you leave the page — complete privacy.

Varför använda vårt?

Helt gratis — inga dolda kostnader, någonsin
Inget konto, e-post eller inloggning krävs
Filer lämnar aldrig din enhet
Inga filstorleksgränser överhuvudtaget
Inga vattenstämplar på någon utdata

Also check out…

Vanliga frågor