HTML Encoder / Decoder

Encodes and decodes HTML entities, escaping and unescaping special characters.

100% FreeRuns in your browserBasic

Input

Direction

0 characters · 0 bytes (UTF-8)

Shortcut: Alt+Shift+S switches direction.

Output

Enter text to see the result.

Runs entirely in your browser. Your input is not uploaded or stored.

How the method works

Raw text and protected preview are separate outputs
Illustrative method
Raw text and protected preview are separate outputsFlow: input text or file, parsed locally in an inert document, converted, then split into two outputs — the raw converted text for copy or download, and a sanitised preview shown in a sandbox with no network access.Input text or filestays on your deviceParse locallyno scripts, no fetchConvertescape · map structureRaw output textcopy or downloadSanitise → previewsandboxed, no networkexport deliberately
Parse locally (nothing is fetched or run) → convert → two separate outputs: the raw text you copy or download as written, and a sanitised preview in a sandboxed frame with scripts and network blocked. Downloading is always a deliberate click.

Encoding escapes text for one HTML context; it is not a sanitiser, and decoding runs exactly once per action. Fixed example values for illustration — not your result.

Tip: Enter any known values to calculate the remaining results.

Designed to run locally in your browser. Tool inputs are not intentionally stored by Zerdly unless stated otherwise.