What is Hex ↔ Base64 Converter?
Hex ↔ Base64 Converter is a free online tool that converts hexadecimal strings to Base64 and Base64 back to hex. It accepts spaces, newlines, commas and 0x prefixes, so you can paste raw dumps directly.
Convert hex strings to Base64 and back online. Flexible input for packet dumps and keys — free Hex ↔ Base64 converter on Fah Swe Tools.
Key features
- Hex → Base64 and Base64 → Hex
- Flexible hex input (spaces, 0x, commas)
- Uppercase or spaced hex output
- Free; inputs are not stored
Popular uses
- Convert encryption keys between formats
- Decode packet and binary dumps
- Prepare values for APIs and certificates
Also known as: Hex to Base64, Base64 to Hex, Hex Converter.
How it works
- Choose Hex → Base64 or Base64 → Hex.
- Paste your hex or Base64 (spaces, newlines, commas, and 0x prefixes are fine for hex).
- Optionally enable uppercase or spaced hex output, then run and copy the result.
FAQ
What if my hex has an odd number of digits?
We show a clear error — odd nibble counts are not padded automatically, so you can fix the input.
Is this for text Base64?
This converts raw bytes between hex and Base64. For UTF-8 text encode/decode, use Base64 Encode/Decode.
Are inputs stored?
No — conversion runs in memory for the request and is not saved.
What is hexadecimal?
A base-16 number system (0–9, A–F) often used to show bytes; two hex digits equal one byte.
Why convert hex to Base64?
Base64 is shorter than hex for the same bytes and is common in APIs and JSON.