Base64 to Hexadecimal Converter

Paste a Base64 string and instantly get the equivalent hexadecimal representation of its decoded bytes.

Base64 Input

Hexadecimal Output

Copied!

Summary

Paste a Base64 string and instantly get the equivalent hexadecimal representation of its decoded bytes.

How it works

  1. Paste or type your Base64 string into the input field.
  2. The tool normalizes URL-safe characters (- → +, _ → /) before decoding.
  3. Missing Base64 padding (=) is added automatically.
  4. The decoded bytes are converted to their two-hex-digit representations.
  5. The result appears immediately; click Copy to copy it to your clipboard.

Use cases

  • Inspect the raw bytes of a Base64-encoded value from a JWT header or payload.
  • Convert Base64-encoded cryptographic hashes or keys to hex for comparison.
  • Debug binary data encoded in Base64 transport layers.
  • Translate Base64 color codes or pixel data into hex byte sequences.
  • Verify that two Base64 strings encode the same underlying bytes.
  • Examine image or file data embedded as Base64 strings.

Frequently Asked Questions

Last updated: 2026-06-11 · Reviewed by Nham Vu