Base64 to Hex Decoder Online Free

Decode Base64 to hex bytes - URL-safe variant, separator options, uppercase toggle, UTF-8 aware. Free, client-side, instant, offline, secure.

Decode Base64 back to the underlying bytes and render them as hexadecimal. Choose a separator, toggle uppercase, accepts URL-safe variants and missing padding — all client-side.

How to Use Base64 to Hex Decoder Online Free

  1. Paste your Base64 string into the input field. Newlines and spaces inside the Base64 are stripped automatically (a common issue with email-wrapped or manually line-broken payloads).
  2. Pick your separator. Space is most readable for humans, None packs tightest, Comma pastes into programming language byte arrays, 0x-prefix drops straight into C / Rust / Go source code.
  3. Toggle uppercase if your downstream tool expects A-F instead of a-f. Some protocol specs (MAC addresses, ITU-T) lean uppercase; most modern APIs prefer lowercase.
  4. Leave URL-safe on if you’re pasting a JWT fragment, a URL parameter, or anything from Python’s base64.urlsafe_b64encode(). The - and _ chars get translated to + and / before decoding.
  5. Watch the stats line. You’ll see N bytes decoded, the hex output length, and any extras: +2 pad means we auto-added ==, URL-safe means we translated -_.
  6. Copy or download. Copy writes to clipboard; Download saves as hex-<timestamp>.txt. Keyboard shortcut: Ctrl+Enter (or Cmd+Enter on Mac) does both in one step.
  7. Fix errors. If you see “Invalid Base64: unexpected character”, the error names the exact offending character and its position in the sanitized string - remove or replace it and retry.

Frequently Asked Questions

What is hex output and when is it useful?

Hexadecimal represents each byte as two characters from 0-9 and A-F. It is useful for inspecting binary data, generating cryptographic hashes, debugging network protocols, and working with memory dumps.

What separator options are available?

You can choose no separator (ffd8ffe0), spaces (ff d8 ff e0), colons (ff:d8:ff:e0), or dashes (ff-d8-ff-e0). Pick the one that matches your target format.

Why would I want uppercase hex?

Uppercase hex (FF d8) is traditional in many older tools and some programming languages. Lowercase (ff d8) is more common in modern web and cryptographic contexts. The tool supports both.

Does it support URL-safe Base64?

Yes. The tool detects URL-safe Base64 that uses – and _ and handles missing padding automatically before converting to hex.

Is my data secure?

Yes. All Base64 decoding and hex conversion runs in your browser. Input and output never touch a server.

Do you store the decoded data?

No. Nothing is saved, logged, or transmitted. The tool is fully client-side.

Is the converter free?

Yes, no sign-up and no usage limits.

What if my Base64 is malformed?

The tool validates input and shows a specific error message pointing to the problem, such as invalid characters or incorrect length.

Can I copy the hex output to clipboard?

Yes. The Copy button puts the full hex string on your clipboard with your chosen separator and case.

Is there a size limit?

No hard limit. The tool handles Base64 strings from a few bytes to multiple megabytes, constrained only by browser memory.