Base64 to Hex Decoder

code
Loading feedback…

Inspect the raw bytes behind a Base64 value by converting them to uppercase hexadecimal.

Last updated: May 8, 2026Author: Mateo DíazReviewed by: Riley Williams
Base64 to Hex Decoder
In-browser
Decode Base64 into hexadecimal bytes
Characters: 8Words: 1Sentences: 0Lines: 1

Options

Characters: 0Words: 0Sentences: 0Lines: 0

What is a Base64 to hex decoder?

A Base64 to hex decoder converts the decoded bytes behind a Base64 string into hexadecimal. This is the safest view when you need to inspect file headers, hashes, signatures, or binary payloads.

How to use it

  1. Paste the Base64 or Base64URL value.
  2. Choose whether the hex bytes should be separated by spaces.
  3. Copy the hex output for debugging or comparison.

Example

Input: SGVsbG8=

Output: 48 65 6C 6C 6F

Common mistakes

  • Hex output is a byte view, not decoded text.
  • If the first bytes look like 25 50 44 46, the payload is likely a PDF.
  • If the first bytes look like 89 50 4E 47, the payload is likely a PNG image.

Related tools

Privacy and security

The decoded bytes are inspected locally in your browser.