Base64 to Hex Converter

Convert between Base64, Hexadecimal, and raw text. Instant, client-side, no data sent to servers.

How Base64 and Hex Relate

Both Base64 and Hexadecimal are ways to represent binary data as printable text. Base64 uses 64 characters (A-Z, a-z, 0-9, +, /) and is ~33% larger than the original. Hex uses 16 characters (0-9, a-f) and is 100% larger.

Base64 is commonly used in data URIs, email attachments (MIME), and JWT tokens. Hex is used for color codes, cryptographic hashes, and memory addresses.

Converting between them involves decoding one format to raw bytes, then re-encoding in the other format.

API Endpoint

Use the DevTools API for programmatic encoding:

GET https://ai.doxx.lat/api/encode?text=hello&type=base64
GET https://ai.doxx.lat/api/encode?text=hello&type=hex