Encoding tools

HTML Entity Encode

Encode special HTML characters locally. Output is text, never rendered HTML.

Runs locally
Input: up to 1 MB. Output: up to 2 MB. Files stay in your browser.
Guide

Convert characters such as angle brackets and ampersands into HTML (HyperText Markup Language) character references. This helps you include those characters as visible text inside markup.

  1. Add your text

    Paste into Input, choose an example or select Open file. You can also drop one UTF-8 text file into Input.

  2. Read the converted text

    Output updates automatically. Encoded markup stays visible as text; no HTML runs in this tool.

  3. Keep the result

    Use Copy output or Download above the fields. The main button runs the operation again. Clear removes the input.

On mobile, choose Output to read the result. Clear removes both fields.

Encoding

  • Markup characters become text references: for example, < becomes &lt;. This is not a sanitizer for untrusted documents.
Shortcuts
  • Ctrl / Cmd + Enter — Run selected action
  • Ctrl / Cmd + Shift + C — Copy output
  • Ctrl / Cmd + S — Download output
  • ? — Show shortcuts outside text fields

Shortcuts work while focus is in the workspace. Copy and download need valid output.

Common questions
Is my text uploaded?
No. Processing happens in a local browser worker. Your text and filenames are not uploaded or saved.
How does this conversion work?
Encoding escapes &, <, > and quotation marks. Decoding supports named and numeric HTML entities, each ending with a semicolon. Unknown references stay unchanged; invalid numeric references follow HTML rules for replacement or control-character remapping. Output is plain text, never executed. This is not an HTML sanitizer.
What are the limits?
Input: 1 MB of UTF-8 text. Output: 2 MB. Processing stops after five seconds. A limit produces an error, not a shortened result.

Was this tool helpful?

Only your rating and optional feedback are sent. Your tool input and output are never included.