Need to format JSON from an API response? The Wivrix HTML Encoder / Decoder is free, works in your browser, and takes seconds to use.
What this tool does
Encode text to HTML entities or decode HTML entities back to text. Escape for JavaScript strings, CSS selectors, HTML attributes or content. Full entity reference included. Free, fast, and runs entirely in your browser.
Why use Wivrix?
Many online tools ask you to sign up, add a watermark, or upload your files to a server you cannot see. Wivrix is different:
- Private by design — Everything runs in your browser. Your files and input stay on your device — nothing is uploaded to Wivrix.
- Free — no account, no paywall, no file-size tricks
- Fast — open the page and start working
Step-by-step guide
- Encode for Content — escapes < , > , & , " , ' . Use for text inside HTML elements.
- Encode for Attribute — additionally escapes backtick and equals sign. Use for values inside HTML attributes to prevent attribute injection.
- Escape for JS String — escapes backslashes, quotes, newlines, tabs, angle brackets, and Unicode line separators for safe inclusion in JavaScript string literals.
- CSS Selector Escape — escapes special characters in CSS identifiers and selectors per the CSS specification.
Common uses
- Format json from an api response
- Decode a jwt during debugging
- Test a regular expression quickly
- Convert yaml config to json
Frequently asked questions
Do I need an account?
No. Open the tool and use it straight away.
Is the HTML Encoder / Decoder really free?
Yes. Wivrix tools are free to use. The site is supported by ads that load only after you consent.
Is my data safe?
Everything runs in your browser. Your files and input stay on your device — nothing is uploaded to Wivrix.
Try it now
Open the free HTML Encoder / Decoder and follow the steps above. If this guide helped, bookmark the tool or share it with someone who needs the same job done quickly.
Related tools
- Base64 Encoder / Decoder — see also our guide
- URL Encoder / Decoder — see also our guide
- JSON Formatter & Validator — see also our guide
Ready to try it? Open the free HTML Encoder / Decoder — no sign-up needed.
Open HTML Encoder / Decoder →