Skip to content

HTML Entity, URL & Base64 Encoder and Decoder

Encode and decode HTML entities, URLs (percent-encoding), Base64 with full UTF-8 support, and Unicode escapes for JavaScript, CSS and HTML. Instant results.

How to use the HTML, URL & Base64 Encoder/Decoder

  1. Choose the type: HTML entities, URL, Base64 or Unicode escape.
  2. Paste your text and press Encode or Decode; the result updates as you type.
  3. Use the extra options: encode all non-ASCII characters, encode a full URL or a single value, URL-safe Base64, or the escape style.
  4. Press Use output as input to reverse the conversion.

Tips

  • Encode user text with HTML entities before inserting it into a page to prevent broken markup.
  • Use component URL encoding for query values and full URL encoding for whole addresses, which keeps / ? & intact.
  • Base64 is an encoding, not encryption: anyone can decode it.

Everything runs in your browser: nothing you type or paste is sent to a server.

More developer tools