Encoding / Escape

Escape text, one format per page.

Pick the format you need. JSON, URL, or HTML escaping each live on their own page.

JSON escape

Escape a string for a JSON literal.

Escape
URL escape

Percent-encode a string for a URL.

Escape
HTML escape

Encode characters for safe HTML output.

Escape