[{"data":1,"prerenderedAt":127},["ShallowReactive",2],{"tool-content-en-text-diff":3},{"id":4,"title":5,"body":6,"description":117,"extension":118,"locale":119,"meta":120,"navigation":121,"path":122,"seo":123,"stem":124,"toolId":125,"__hash__":126},"tools\u002Ftools\u002Fen\u002Ftext-diff.md","Text Diff",{"type":7,"value":8,"toc":108},"minimark",[9,14,23,27,30,60,67,71,74,78,81,85],[10,11,13],"h2",{"id":12},"what-is-a-text-diff","What is a text diff?",[15,16,17,18,22],"p",{},"A text diff shows how one version differs from another, similar to ",[19,20,21],"code",{},"git diff",". It is useful for reviewing code, configuration, JSON, logs, documentation, and generated output.",[10,24,26],{"id":25},"change-highlighting","Change highlighting",[15,28,29],{},"The tool detects three types of changes:",[31,32,33,45,54],"ul",{},[34,35,36,40,41,44],"li",{},[37,38,39],"strong",{},"Added"," — lines present only in the new text (green background, ",[19,42,43],{},"+"," prefix).",[34,46,47,50,51,44],{},[37,48,49],{},"Removed"," — lines present only in the original text (red background, ",[19,52,53],{},"-",[34,55,56,59],{},[37,57,58],{},"Modified"," — lines that differ between versions. Modified lines show the old and new versions with inline character-level highlighting, so you can see exactly which characters changed.",[15,61,62,63,66],{},"In ",[37,64,65],{},"side-by-side"," view, both panels scroll in sync for easy comparison.",[10,68,70],{"id":69},"ignore-options","Ignore options",[15,72,73],{},"You can ignore whitespace differences, trim trailing spaces, or compare without regard to letter case. These options change how comparison units are matched; the original text is still shown in the result.",[10,75,77],{"id":76},"privacy-and-limits","Privacy and limits",[15,79,80],{},"Both inputs are processed locally in your browser. Larger comparisons run in a Web Worker. Combined input is limited to 1 MB to keep the page responsive.",[10,82,84],{"id":83},"unified-diff-format","Unified diff format",[15,86,87,88,91,92,95,96,98,99,101,102,104,105,107],{},"Downloaded files contain ",[19,89,90],{},"---"," and ",[19,93,94],{},"+++"," headers followed by lines prefixed with a space, ",[19,97,43],{},", or ",[19,100,53],{},". Modified lines appear as a ",[19,103,53],{}," line followed by a ",[19,106,43],{}," line.",{"title":109,"searchDepth":110,"depth":110,"links":111},"",2,[112,113,114,115,116],{"id":12,"depth":110,"text":13},{"id":25,"depth":110,"text":26},{"id":69,"depth":110,"text":70},{"id":76,"depth":110,"text":77},{"id":83,"depth":110,"text":84},"Compare two text versions in your browser with git diff-style output and download unified diffs without uploading your content.","md","en",{},true,"\u002Ftools\u002Fen\u002Ftext-diff",{"title":5,"description":117},"tools\u002Fen\u002Ftext-diff","text-diff","Cp7jVCYrz3qRtCowgiFoHhO00gPbP00146XBlVe6sYc",1792391421019]