Privacy-focused processing

Text Escape & HTML Encoder

Escape or unescape HTML entities and JSON or JavaScript strings without executing code.

We use reasonable safeguards to help protect your files and information while you use the service.

What to select

Paste text or HTML entities, choose encode or decode, and keep the result in a text-only context.

0 / 500,000 characters

What this tool helps you do

Encode or decode common HTML entities, escape JSON string content, or create and read a safely quoted JavaScript string without executing user input.

How to use Text Escape & HTML Encoder

  1. Paste plain text or entity-encoded text.
  2. Choose the HTML, JSON or JavaScript escape operation.
  3. Copy the text output; it is never inserted as executable markup.

Example

Input: <strong>Tea & cake</strong>

Result: &lt;strong&gt;Tea &amp; cake&lt;/strong&gt;

Practical note: Decoding makes text readable; it does not sanitize HTML for safe page insertion. Keep untrusted results in text-only contexts.

Supported formats

Plain text typed or pasted into the browser.

Limits and safety

Guests can split up to 20,000 characters per task. The number of resulting segments is not limited. A high technical safety ceiling protects the browser for signed-in members.

Frequently asked questions

Can I use my own delimiter?

Yes. Choose Custom delimiter and enter the exact characters between each segment. It is treated as literal text, not a regular expression.

Is my text uploaded or saved?

No. Splitting happens in this browser tab. The input and results are not uploaded or saved by this tool.

Related tools