Convert between Base64, Hexadecimal, and raw text. Instant, client-side, no data sent to servers.
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.
Use the DevTools API for programmatic encoding: