toolqik

161 · Text

Text Decoder

Decode Base64, URL, HTML entities, Unicode escapes, hex and more, with auto-detect.

Runs in your browser
Decoded text

  

About this tool

Got a string full of %20, &, \u00e9 or a block of Base64 and need to read it? Paste it here. Auto-detect figures out the encoding from what the text looks like and decodes it to readable UTF-8 text; if it guesses wrong, pick the format yourself.

Formats it decodes

Format“café & 👋” becomesUsed for
Base64Y2Fmw6kgJiDwn5GLEmail attachments, data URLs, binary in JSON, HTTP Basic auth
Base64URLY2Fmw6kgJiDwn5GL with -/_, no paddingJWTs, URL-safe tokens
URL encodingcaf%C3%A9%20%26%20%F0%9F%91%8BQuery strings and URL paths
HTML entitiescafé & 👋Showing text safely inside HTML
Unicode escapescaf\u00E9 & \uD83D\uDC4BJSON, JavaScript, Java, C# string literals
Hex63 61 66 c3 a9 20 26 20 f0 9f 91 8bDebugging bytes, protocols, hashes
Quoted-printablecaf=C3=A9 & =F0=9F=91=8BEmail bodies (MIME)
ROT13pnsé & 👋Hiding spoilers (not security)

Clear error messages

When the input isn’t valid for the chosen format, you get a specific reason, such as a Base64 string with an impossible length, a % not followed by two hex digits, or bytes that aren’t valid UTF-8 (which usually means the data is binary, like an image, rather than text).

Tips

  • Base64 decoding accepts both standard and URL-safe alphabets, with or without padding, and ignores line breaks. A data:…;base64, prefix is removed automatically.
  • URL decoding with the form option also turns + into spaces, as HTML forms encode them.
  • Text that was encoded twice (for example %2520) needs decoding twice: decode, then paste the result again.

To decode a JWT, use the JWT decoder, which also shows the header and claims. For JSON strings with escapes, use JSON unescape.

FAQ

How do I decode a Base64 string?

Paste it in the box with Auto-detect or Base64 selected. The decoded text appears instantly. URL-safe Base64 and missing padding are handled.

How do I decode %20 and other URL-encoded characters?

Paste the text; auto-detect recognizes percent-encoding and turns %20 into a space, %C3%A9 into é, and so on.

How do I convert HTML entities back to characters?

Paste text containing &amp;, &lt;, &#233; or similar. They are decoded to &, <, é and so on.

Why do I get “not valid UTF-8 text”?

The decoded bytes are not text, for example an image or compressed data. The encoding itself was valid but the content is binary.

Can it detect the encoding automatically?

Yes, Auto-detect checks for Base64, URL encoding, HTML entities, Unicode escapes, hex, binary, decimal bytes, quoted-printable and Morse.

esc
↑↓ navigate↵ open