Base64 to Hexadecimal Converter
Paste a Base64 string and instantly get the equivalent hexadecimal representation of its decoded bytes.
Base64 Input
Hexadecimal Output
Bytes decoded: 0
Hex chars: 0
Copied!
Summary
Paste a Base64 string and instantly get the equivalent hexadecimal representation of its decoded bytes.
How it works
- Paste or type your Base64 string into the input field.
- The tool normalizes URL-safe characters (- → +, _ → /) before decoding.
- Missing Base64 padding (=) is added automatically.
- The decoded bytes are converted to their two-hex-digit representations.
- 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