Encoders & Decoders

Encode and decode Base64, URL percent-encoding, HTML entities, hex/binary bytes and escaped strings, or convert images to Base64 data URIs. Fast and private.

Base64 Encode / DecodeEncode/decode Base64 & Base64URL for text and files.URL Encode / DecodePercent-encode or decode URLs and query parameters.HTML Entity EncoderEscape/unescape HTML entities (named, decimal, hex).Text ↔ Hex / BinaryConvert text to hex, binary, decimal or octal bytes and back.String Escape / UnescapeEscape strings for JSON, Java, JS, SQL, regex, CSV and shell.Image to Base64Turn images into data URIs for HTML/CSS and back.

Encoding is not encryption

Encodings such as Base64, URL encoding and HTML entities change how data is represented so it can travel safely through URLs, JSON, HTML or email — they provide no secrecy. Anyone can decode them. If you need confidentiality, use the encryption tools.

Quick guide

  • Base64 — binary data in JSON, emails, data URIs, Basic auth headers.
  • URL encoding — query-string values and path segments.
  • HTML entities — showing < and & literally in HTML.
  • String escaping — embedding text in JSON, Java, JavaScript, SQL or shell.

More developer tools

Esc