Hex ⇄ Base64
Convert hexadecimal bytes to Base64 and Base64 back to hex. Spaces, 0x prefixes, URL-safe Base64, and live formatting options.
20 characters
16 characters · 10 bytes
How it works
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.
Format the output
For Base64 you can enable URL-safe alphabet. For hex, toggle uppercase, spacing between bytes, and optional 0x prefixes.
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.
Similar Convert tools
See allBase64 Encode / Decode
Convert
Encode and decode UTF-8 text as Base64 or Base64URL. Live conversion, MIME line wrap, byte stats, and hex view — entirely in the browser.
OpenFile ⇄ Base64
Convert
Encode any file to Base64, Data URI, HTML, CSS, JSON, XML, or Markdown — or paste Base64 to download the file. URL-safe and MIME wrap options. Runs in this tab.
OpenImage ⇄ Base64
Convert
Convert images to Base64 or data URLs and decode them back. Live preview, HTML/CSS/Markdown snippets, MIME and pixel size — nothing uploaded.
Open