Base64 to HEX
Convert Base64 strings to hexadecimal format.
Convert Base64 to hexadecimal bytes. Paste standard or URL-safe Base64 (with or without padding) and get the same bytes as hex, separated by spaces, commas or nothing, in lowercase or uppercase. Useful for keys, hashes, tokens and binary data that one system shows as Base64 and another expects in hex.
Need the reverse? HEX to Base64
Common use cases
- Convert a Base64 hash or key to hex
- Inspect the bytes inside a Base64 value
- Move binary values between systems that use different encodings
How to use
- Paste the Base64.
- Choose separator and letter case.
- Copy the hex.
FAQ
Why does the hex look longer?
Hex uses 2 characters per byte, Base64 about 1.33, so the same data is 50% longer in hex.
Can I decode Base64 to text instead?
Yes, with the Base64 decoder.
Related tools
- HEX to Base64Convert hexadecimal strings to Base64 encoding.
- Binary to HEXConvert binary strings to hexadecimal format.
- HEX to BinaryConvert hexadecimal strings to binary format.
- JWT Signer DemoCreate signed JSON Web Tokens for testing: write the claims, pick HS256, HS384 or HS512, add an expiry, and…
- Query String BuilderBuild URL query strings from key-value pairs.
- OTP GeneratorGenerate one-time passwords for authentication.