Embed a Free Text Compare Tool on Your Site
Add a working text, JSON and code comparison tool to your blog, documentation site, or help center with a single line of HTML. No API key, no sign-up, no cost - and because it runs entirely in your visitor's browser, no content ever touches our servers.
Live preview
This is exactly what your visitors will see:
Get the embed code
Copy the snippet below and paste it into any HTML page. The iframe loads the tool, and the short attribution link below it is all we ask in return.
<iframe
src="https://onlinecomparetext.com/embed"
width="100%"
height="640"
style="border:1px solid #e5e7eb;border-radius:8px;max-width:100%;"
title="Online Compare Text - free text comparison tool"
loading="lazy"
></iframe>
<p style="font-size:13px;font-family:sans-serif;">
Text comparison powered by
<a href="https://onlinecomparetext.com/">Online Compare Text</a> — free, private, runs in your browser.
</p>Why embed this tool?
- Relevant to your readers - useful for developer blogs, writing and editing guides, documentation, and tutorial sites.
- Privacy-first - the comparison runs locally, so you can safely offer it alongside sensitive-content workflows.
- Zero maintenance - we host and update it; the iframe is responsive and lazy-loaded so it does not slow your page down.
- Free - no API key, no usage limits, no account.
Customization
Adjust the height attribute to fit your layout (640px works well for most blogs). The width="100%" keeps it responsive on mobile. If you need a different size, custom styling, or a dedicated tool page (for example JSON-only or code-only), email support@onlinecomparetext.com.
Looking for the tools themselves? Visit the text compare tool, the JSON diff tool, or the code diff tool.