Text Compare
Compare two pieces of text and instantly see added, removed, and changed lines.
- On your device
- No signup
Private on your device
Your information stays on your device and is not uploaded.
Compare two pieces of text and instantly see added, removed, and changed lines.
Compare source files such as JavaScript, TypeScript, Java, Python, HTML, CSS, and SQL.
Sort lines or words alphabetically, or reverse line order.
Combine multiple PDF files into one document.
Count words, sentences, characters, and paragraphs with reading time estimates.
Build a simple crossword grid from your own words and clues.
Unscramble letters into words with Easy, Medium, and High difficulty modes.
Estimate reading and speaking time from text with adjustable speeds.
Merge two, three, or more text files into one downloadable file. Reorder files, choose separators, preview syntax-highlighted Java, Apex, and other source code, and download UTF-8 output. Two-way comparison lets you choose changes; three-way merging uses an explicit common ancestor and asks you to resolve conflicts. Processing stays in your browser.
Add two or more files, choose Combine files or Merge versions, and arrange the sources. Set separators for combination, or assign Left, Right, and optional Base for version merging. Generate the result, resolve every conflict, review or edit the output, then copy or download your file.
Add first.txt containing Hello and second.txt containing World. Choose One newline and Generate merged file. The preview contains Hello on line one and World on line two. Download merged.txt to save the reviewed result.
Combine two, three, or more text files in a chosen order, or compare two versions of the same code file. For three-way merging, assign your version to Left, the other version to Right, and their common ancestor to Base. All processing runs locally in a browser worker. Java, Salesforce Apex (.cls and .trigger), and other source files receive syntax highlighting. Conflicting changes require an explicit choice before the final file can be downloaded.
Combine up to 20 files, 5 MiB each and 20 MiB total. Version comparison supports 2 files, or 3 with a common ancestor, up to 2 MiB and 20,000 lines each. Large previews are truncated and labeled. Syntax highlighting does not compile or validate code. PDF, Office, archive, and binary files require dedicated tools.
Your data stays on your device and is not uploaded.
FAQ
Yes. Add three files in Combine files mode, arrange their order, choose a separator, and generate the result. Review it before downloading.
Yes. Java, Apex .cls and .trigger files have language-aware syntax colors in source and result editors. You can override a file's detected language, including ambiguous .cls files.
A three-way merge compares your version and another version against their common ancestor. Assign Left, Right, and Base explicitly. Overlapping changes need your choice before download.
No. File contents are processed in this browser tab. Refreshing or closing the tab discards the workspace; download your result first.
Not necessarily. Combining files appends text and does not compile it. Multiple Java public classes, for example, may need separate files. Use Merge versions when reviewing changes to the same file.
Page last reviewed: