Mergely
Mergely is a browser-based diff and merge editor, as well as a JavaScript library for comparing and merging text.
What Mergely is
Mergely is a browser-based diff and merge editor, as well as a JavaScript library for comparing and merging text. It displays two documents side by side and marks added, deleted, and changed text. The comparison runs in the browser with JavaScript rather than making server calls for the diff. The maker says imported documents stay in the browser unless saved or shared; saved diffs can be viewed and managed by anyone with the link. Developers can embed the library in a web application and use its API. Options include ignoring whitespace, case, or accented characters, and showing line numbers, wrapping, and sidebars. The API can merge a whole document or a current change from either side. Mergely is free under GPL, LGPL, and MPL open-source licenses. Its documentation recommends the React component and also describes CDN and webpack use, while noting that the Angular component is out of date. Built-in syntax highlighting and three-way merge are not supported.
Good
- Comparison runs in the browser without server calls
- Documents appear side by side
- Can ignore whitespace, case, or accents
- API supports whole-document or current-change merging
- Free under GPL, LGPL, and MPL licenses
Watch out
- No three-way merge
- No built-in syntax highlighting
- Angular component is out of date
- Saved diffs are public to anyone with the link
Who it suits
Mergely suits people comparing or merging two text documents in a browser, and developers embedding diff tools in web applications. It may also suit users who want a free open-source option.
Verdict
Mergely offers browser-based comparison and two-way merging, with options for adjusting how differences appear. Consider its sharing behavior and lack of built-in syntax highlighting before choosing it.
Plans and prices
From Mergely's own pricing page, checked 8 Oct 2026.
| Plan | Price | What it gives you |
|---|---|---|
| Open-source license | Free | GPL · LGPL · MPL |
| Closed Distribution License (CDL) | Priced on request | Lifetime license for prior releases and releases in the following year · 1 year of personal email support |
The facts
Each one read from Mergely's own pages, with the date it was checked.
Where it runs
- Browser processing
- Mergely computes differences in the browser using JavaScript, without server calls for the comparison.checked 8 Oct 2026
- Supported browsers
- The maker lists Firefox, Chrome, Edge, and Safari as supported HTML5 compatible browsers.checked 8 Oct 2026
What it does
- Comparison
- It shows two documents side by side and highlights added, deleted, and changed text.checked 8 Oct 2026
- Diff features
- Options include ignoring whitespace, case, or accented characters, line numbers, line wrapping, and sidebars.checked 8 Oct 2026
- Embedding
- The library can be embedded in a web application and provides an API for integration.checked 8 Oct 2026
- File privacy
- The maker says imported documents stay in the browser unless the user saves or shares them.checked 8 Oct 2026
- Integrations
- The documentation recommends the React component and also describes CDN and webpack usage; it says the Angular component is out of date.checked 8 Oct 2026
- Language highlighting
- Syntax highlighting for different languages is not supported out of the box, but language modes can be added when compiling a custom version.checked 8 Oct 2026
- Licensing
- Mergely is distributed under GPL, LGPL, and MPL open source licenses, with a CDL available by contacting the maker.checked 8 Oct 2026
- Merge controls
- The API can merge a whole document or the current change from one side to the other.checked 8 Oct 2026
- Purpose
- Mergely is a browser based diff and merge editor and JavaScript library for comparing and merging text.checked 8 Oct 2026
- Sharing
- Saved diffs are public to anyone with the link, who can view and manage the share.checked 8 Oct 2026
- Support
- The maker directs users to GitHub issues for support, and the CDL includes one year of personal email support.checked 8 Oct 2026
Alternatives to Mergely
- 1

Diffchecker
Free planiOSWebAPIExtension8.2From $15 a month - 2
Avidemux
Free planOpen sourceWebLinuxmacOSWindows7.3Free plan - 3
Code Compare
Free planAPIExtensionWindows7.3$69.95 one-time - 4

KDiff3
Free planOpen sourceLinuxmacOSWindows7.3Free plan - 5
UltraCompare
LinuxmacOSWindows7.1From $99.95 a year - 6

Diffract
Free planLinuxmacOSWindows6.8$34 one-time
