πŸ“Š
πŸ’»

Compare Code Snippets

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

Nid oes angen mewngofnodi
Context:
Original (A)
Modified (B)
+3 addedβˆ’2 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.

Sut Mae'n Gweithio

1
Ewch i mewn
Enter your data into the tool above. Everything stays local to your browser.
2
Proses
The tool processes your data instantly in your browser using JavaScript. No server, no waiting.
3
Lawrlwythwch
Get your result instantly. Nothing is stored after you leave the page β€” complete privacy.

Pam defnyddio ein un ni?

βœ“Hollol rhad ac am ddim - dim costau cudd, byth
βœ“Nid oes angen cyfrif, e-bost na mewngofnodi
βœ“Nid yw ffeiliau byth yn gadael eich dyfais
βœ“Dim cyfyngiadau maint ffeil o gwbl
βœ“Dim dyfrnodau ar unrhyw allbwn

Also check out…

Cwestiynau Cyffredin