How to use
- Paste or type the earlier text into “Before” and the later one into “After”. The comparison appears below as you type.
- Choose the view (unified or side by side) and tick the differences to ignore: spacing, case, full-width / half-width.
- Removed lines are marked − and added lines +, with the changed characters highlighted. Press “Copy” for the differences in unified diff form, “Swap” to exchange the two texts, or “Clear” to start again. Nothing is sent or stored.
Frequently asked questions
How are the differences found?
The texts are compared line by line with the method diff tools commonly use (the fewest lines removed and added). Where removed and added lines sit together, each removed line is compared character by character with the added line in the same place, and the changed characters are marked. Unchanged lines more than three lines away from a change are folded; press them to show them. The kind of line break (CRLF from Windows, LF or CR) and a line break at the very end of a text are not counted as differences; a blank line added or removed is.
Which differences can be ignored?
Three, each only when ticked: spacing (spaces at the start and end of a line, and how many spaces stand together, full-width spaces included), case (A and a), and full-width and half-width forms (A and A, ガ and ガ, the full-width space). Lines that differ only in what you ignore count as the same and are shown as in the changed text. Only your choice of view and differences to ignore is kept in this browser for your next visit; the texts are not.
Can long texts be compared?
There is no set limit, but a long text that differs on most of its lines takes longer: past a certain amount of work, the rest is shown as removed and added as a whole, and the page says so. A changed line over 10,000 characters is marked whole rather than character by character. Long texts are compared a moment after you stop typing.
Is the text I paste sent anywhere?
No. The comparison runs in your browser and the texts stay on this page: they are neither sent to a server nor stored, and they are gone when you close or reload the page. The site records only that the tool was used and that the result was copied, not what was typed.
Are my files uploaded to an outside server?
No. Everything runs in your browser, so your files never leave your device. The page only downloads the tool's own code when you add the first file.
Related tools
- Character CountCount the characters, words, lines and bytes of a text as you type.
- Full-width / Half-widthConvert letters, digits, symbols, spaces and katakana between full and half width.
- Mask Text for AIReplace names and numbers with placeholders before giving a text to AI, then restore the answer.
- PDF to MarkdownConvert the text of PDFs to Markdown or plain text, one file at a time.
- Compare PDFSee what changed in the text between two versions of a PDF.
- Japanese Era ConverterConvert dates between the Western calendar and the Japanese eras, Meiji to Reiwa.