Developer utility

Base64, URL & Hex Encoder / Decoder

Encode and decode Base64, URL, HTML, hex and binary text instantly.

Free toolkit with a JSON formatter, encoder/decoder, encryption utility and JWT parser.

Everything is processed locally in your browser and is never uploaded.

Local conversion

Encoder / Decoder

Convert text between Base64, Base64URL, percent-encoded URLs, HTML entities, hex and binary, or apply ROT13 and simple text transforms. Everything is computed in your browser.

Ready — choose a transformation and start typing.

About the Encoder / Decoder

One text box converts between the encodings developers meet most often: Base64 and Base64URL, percent-encoded URLs, HTML entities, hexadecimal bytes, binary and plain text. Conversions run over UTF-8 bytes, so accents, CJK text and emoji survive a round trip — unlike tools built on the Latin-1-only btoa(). Live conversion updates the result while you type, and Swap sides applies the inverse transformation so a value can be verified in a single click.

What you can do

  • Base64 and Base64URL encoding and decoding.
  • URL encoding for a whole value or a single query-string component.
  • HTML entity escaping and unescaping, numeric entities included.
  • Hex and binary conversion driven by UTF-8 bytes.
  • ROT13, UPPERCASE, lowercase, reverse and URL slug helpers.
  • Escape or unescape text so it can be embedded inside a JSON string.
  • Live conversion, one-click swap, copy and download.

How to use the Encoder / Decoder

  1. Pick a transformation in the Encoder / Decoder tab.
  2. Type or paste your text — with "Convert while typing" enabled the result updates as you go.
  3. Use Swap sides to run the reverse transformation on the result, or Copy result to reuse it elsewhere.

Keyboard shortcut: press Alt+1 to Alt+4 to move between tools, or K for the command palette.

Frequently asked questions

Does Base64 hide or encrypt my data?
No. Base64 is a reversible encoding that rewrites bytes as ASCII text, and anybody can decode it. Use the Encryption Utility if you need confidentiality.
Are emoji and non-English characters supported?
Yes. Text is converted to UTF-8 bytes before encoding and decoded back afterwards, so emoji, accented letters and CJK characters round trip correctly.
Why does a decode operation sometimes fail?
The input has to match the chosen transformation. Base64 decoding rejects characters outside the Base64 alphabet, hex decoding needs an even number of digits, and binary decoding needs a multiple of eight bits — each failure explains what is wrong.