Base64 to HEX

Convert Base64 strings to hexadecimal format.

Convert Base64 to hexadecimal bytes. Paste standard or URL-safe Base64 (with or without padding) and get the same bytes as hex, separated by spaces, commas or nothing, in lowercase or uppercase. Useful for keys, hashes, tokens and binary data that one system shows as Base64 and another expects in hex.

Need the reverse? HEX to Base64

Common use cases

  • Convert a Base64 hash or key to hex
  • Inspect the bytes inside a Base64 value
  • Move binary values between systems that use different encodings

How to use

  1. Paste the Base64.
  2. Choose separator and letter case.
  3. Copy the hex.

FAQ

Why does the hex look longer?

Hex uses 2 characters per byte, Base64 about 1.33, so the same data is 50% longer in hex.

Can I decode Base64 to text instead?

Yes, with the Base64 decoder.