Skip to main content

Encoder & Decoder

Everything is processed in your browser. Nothing is uploaded.

About this tool: Encoder & Decoder

Encode and decode text between the formats developers meet most often: Base64, Base32, hexadecimal, binary, URL percent-encoding, HTML entities, Unicode escapes, punycode, quoted-printable and ROT13. Each conversion works in both directions and treats text as UTF-8, so accented letters and emoji survive a round trip. Files can be turned into Base64 or data URIs and back, and a URL parser splits an address into editable parts.

Common uses

  • Decoding a Base64 value found in a header or config file
  • Percent-encoding a query parameter that contains spaces or symbols
  • Embedding a small image in CSS or HTML as a data URI

Frequently asked questions

Is Base64 encryption?
No. Base64 only changes how bytes are written so they survive text-only channels. Anyone can decode it, so never use it to protect secrets.
Why does decoded text look garbled?
Usually the original bytes were not UTF-8, or the input was cut off or contains characters outside the encoding alphabet. Check for stray whitespace and the right variant (standard or URL-safe).
Can I encode a file?
Yes. Drop a file to get its Base64 string or a data URI, or paste a Base64 string to get the file back.