Discourage casual copying
Hide markup structure in the page source, making it harder for someone to grab your HTML with a right-click or a quick glance at the DOM inspector.
Protect markup snippets by turning them into an obfuscated script — 100% in your browser
Paste your HTML, click Obfuscate, and get a
<script> block ready to embed on your site. Useful for discouraging casual copying,
hiding visible markup structure, and sharing snippets with an extra layer of deterrence.
Hide markup structure in the page source, making it harder for someone to grab your HTML with a right-click or a quick glance at the DOM inspector.
When sharing banners, embedded forms, or promotional blocks, obfuscating the HTML adds an extra step before someone reuses your work without permission.
Generate a single <script> block that's easy to drop into blogs, landing pages,
or CMS platforms that block raw HTML but allow embedded scripts.
Simplify what appears in the browser inspector when the original HTML is lengthy or contains comments and structures you'd rather not expose openly.
This tool processes everything in your browser. Your code is never sent to a server or stored in external databases.
No accounts, no artificial limits, no installs. Paste, obfuscate, and copy the result in seconds from any device with a modern browser.
Your HTML is encoded in Base64 and wrapped in a script that, when executed, decodes the content
and writes it to the page using document.write.
No. Never obfuscate passwords, API keys, tokens, or confidential information. Obfuscation only hides content superficially.
Yes, as long as the platform allows <script> tags.
Some CMS platforms or editors block scripts for security; in those cases obfuscation won't be applicable.