HTML Encoder / Decoder

Escape or unescape HTML entities for safe display and debugging.

Privacy: This tool runs in your browser. Your input is not uploaded to Bratora for processing.

Visual guide

How to use this tool

HTML Encoder / Decoder — 3 quick steps

Step 1 of 3 Enter your input Paste text, JSON, a URL, or pick options in the form.
  1. 1 Enter your input Paste text, JSON, a URL, or pick options in the form.
  2. 2 Run the tool Click Format, Generate, Encode, or the main action button.
  3. 3 Copy the result Copy or download the output — nothing is stored on our servers for client tools.

Escapes and unescapes common HTML entities using the DOM.

Step-by-step

Paste text or HTML entities.

Encode or decode.

Copy the output.

Good for

  • Safe sample markup
  • CMS debugging
  • Docs examples

Worth knowing

Format: Plain text ↔ HTML entities.

Limits: Not a full HTML sanitizer or XSS filter.

FAQ

Does this sanitize HTML?

No. It only encodes/decodes entities.