Hex ⇄ Base64

Convert hexadecimal bytes to Base64 and Base64 back to hex. Spaces, 0x prefixes, URL-safe Base64, and live formatting options.

PrivateIn your browserInstantUnlimited

20 characters

16 characters · 10 bytes

How it works

1

Pick a direction

Hex → Base64 reads hex digits (spaces, commas, and 0x ignored) and emits Base64. Base64 → Hex decodes Base64 or Base64URL and prints hex.

2

Format the output

For Base64 you can enable URL-safe alphabet. For hex, toggle uppercase, spacing between bytes, and optional 0x prefixes.

3

Copy or download

Live mode updates as you type. Swap moves the result to input and flips direction.

What is a hex ↔ Base64 converter?

Hexadecimal writes each byte as two digits; Base64 packs the same bytes into a denser ASCII alphabet. This tool converts between the two representations in your browser so Easy24 never receives the data.

Why use this tool

  • Hex ↔ Base64 conversion
  • Tolerant hex parsing (spaces, 0x)
  • URL-safe Base64 option
  • Hex casing, spacing, and 0x prefixes
  • Live mode and swap
  • Unlimited use — no daily cap

Questions

What does Hex ⇄ Base64 do?

It converts raw byte sequences between hexadecimal text and Base64 — useful for digests, keys, and binary payloads.

What hex formats are accepted?

Digits 0–9 and A–F/a–f. Spaces, underscores, hyphens, commas, and 0x prefixes are stripped. The remaining length must be even.

Does Base64 → Hex accept Base64URL?

Yes. URL-safe characters (- and _) are normalized before decoding.

Is my input sent to a server?

No. Conversion runs entirely in this tab.

Is there a daily limit?

No. This tool has no daily cap.

Do I need an account?

No. Open the page and use it.

Does it work on a phone?

Yes. It runs in the mobile browser.

If Easy24 helped, buy a coffee

Tools stay free in your browser. One-time thanks via Kreosus. Turkish cards work.

Buy a coffee

Similar Convert tools

See all