Mergely
mergely.com
- Free plan
- Web
- API
- Self-hosted
What Mergely is
Mergely is a browser-based editor and JavaScript library for comparing and merging two text documents. It places documents side by side and marks added, deleted, and changed text. The comparison runs in the browser using JavaScript, without server calls for the diff; the maker says imported documents remain there unless users save or share them. Saved diffs are public to anyone with the link, who can view and manage the share. The free open-source version is available under GPL, LGPL, and MPL licenses. Developers can embed the library in web applications and use its API. Documentation recommends the React component and describes CDN and webpack use; the Angular component is out of date. Options include ignoring whitespace, case, or accented characters, plus line numbers, wrapping, and sidebars. The API can merge a whole document or a current change from one side to the other. Mergely lists Firefox, Chrome, Edge, and Safari as supported browsers. It does not provide three-way merge or built-in syntax highlighting, though language modes can be added when compiling a custom version.
Who it suits
Mergely suits developers who need a two-document diff or merge editor in a browser or want to embed one in a web application. Its free open-source licenses may also suit projects able to work within those terms.
Good to know, and what to watch
- Free under GPL, LGPL, and MPL licenses
- Diff comparison runs in the browser
- Can be embedded with an API
- Options include whitespace and case handling
- Supports Firefox, Chrome, Edge, and Safari
- No three-way merge
- No built-in syntax highlighting
- Saved diffs are public to link holders
- Angular component is out of date
Plans
Every plan and priceClosed Distribution License (CDL)
Open-source license
Free plan
The verdict
Mergely provides a free, browser-based way to compare and merge two documents, with options for embedded use. Note that shared diffs are public to link holders, and the editor lacks three-way merge and built-in syntax highlighting.
What the maker publishes
- Browser processing
- Mergely computes differences in the browser using JavaScript, without server calls for the comparison. source
- Comparison
- It shows two documents side by side and highlights added, deleted, and changed text. source
- Diff features
- Options include ignoring whitespace, case, or accented characters, line numbers, line wrapping, and sidebars. source
- Embedding
- The library can be embedded in a web application and provides an API for integration. source
- File privacy
- The maker says imported documents stay in the browser unless the user saves or shares them. source
- Integrations
- The documentation recommends the React component and also describes CDN and webpack usage; it says the Angular component is out of date. source
- 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. source
- Licensing
- Mergely is distributed under GPL, LGPL, and MPL open source licenses, with a CDL available by contacting the maker. source
- Merge controls
- The API can merge a whole document or the current change from one side to the other. source
- Purpose
- Mergely is a browser based diff and merge editor and JavaScript library for comparing and merging text. source
- Sharing
- Saved diffs are public to anyone with the link, who can view and manage the share. source
- Support
- The maker directs users to GitHub issues for support, and the CDL includes one year of personal email support. source
- Supported browsers
- The maker lists Firefox, Chrome, Edge, and Safari as supported HTML5 compatible browsers. source
Checked against the maker's pages on 8 Oct 2026.