About Hex ↔ Base64 Converter
Free online Hex ↔ Base64 converter by Fah Swe Tools. Convert hexadecimal dumps to Base64 (and Base64 back to hex) for keys, certificates, packet dumps, and binary payloads. Flexible hex input: spaces, newlines, commas, and 0x byte prefixes are normalized. Odd-length hex is rejected with a clear validation error. Optional uppercase hex and pretty spacing every byte. Pure Python, no third-party APIs — copy-friendly output for developers.
How to use
- 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.