# Base, Radix, and Hex Text Encoding Tools

Encode and decode text and bytes across Base32/45/58/62/64URL/Base85/Z85, arbitrary radix (2–36), and hex, plus URL, HTML-entity, and Unicode escape conversion — for JWTs, blockchain IDs, data URLs, and binary inspection.

> Canonical page: https://elysiatools.com/en/hubs/base-radix-and-hex-encoding-tools

- **Category:** encode-decode

- **Keywords:** base64url decoder, base58 encoder, base45, base62, base85 z85, base n radix converter, hex to string, hex dump viewer, url encoder, html entity encoder, unicode escape, byte encoding

## Overview

This hub gathers the alphabet-based encodings developers reach for when moving data between text and bytes. The Base family covers the formats real systems use — Base32, the EU Digital COVID Certificate Base45, the Bitcoin/Ripple Base58, the URL-shortener Base62, JWT's Base64URL, and the ZeroMQ/RFC-1924 Base85 — alongside a meta Base-N converter for any radix from 2 to 36. The hex and escape group handles hex-to-string inspection, a classic hex-dump file viewer, and the URL / HTML-entity / Unicode escapes that appear in web payloads and source files. Use it to pick the right encoding, inspect raw bytes, or round-trip a token without guessing which Base variant you are looking at.

## Tools

- Base-N Radix Converter: Convert numbers and text between any radix from 2 to 36, with custom alphabets and presets for Base58, Base62, and Crockford Base32.
- Base32 Converter: Encode and decode text to/from Base32 format with multiple variants
- Base45 Converter: Encode and decode text to/from Base45 format (RFC 9285)
- Base58 Converter: Encode and decode text to/from Base58 format with Bitcoin and Ripple variants
- Base62 Converter: Encode and decode text to/from Base62 format (0-9, A-Z, a-z)
- Base64URL Encoder/Decoder: Encode and decode Base64URL (URL-safe Base64 variant used by JWT/JWS/JWE), with conversions between standard and URL-safe Base64
- Z85 RFC 1924 Base85 Stream Encoder Decoder: Encode or decode bytes with ZeroMQ Z85, RFC 1924 Base85 or a validated custom alphabet in single or line-batch mode
- Hex to String Converter: Convert text to and from hexadecimal strings with flexible spacing, prefix (0x/\x/U+), and case options
- Hex Editor (File Viewer): Upload any binary file and inspect it as a classic hex dump with offset, hex bytes, and ASCII columns (read-only)
- URL Encoder/Decoder: URL encode and decode strings
- HTML Entity Encoder/Decoder: Encode and decode HTML entities
- Unicode Escape Converter: Convert text to/from Unicode escape sequences (\uXXXX / \u{XXXXXX}) and apply Unicode normalization (NFC/NFD/NFKC/NFKD)

## Samples

- Hex/Unicode Encoding Format Samples: Examples of hex (\xXX) and unicode (\uXXXX) escape sequence encoding formats

## Frequently asked questions

### Which Base format does my token use?

Match it to the system: JWT/JWS/JWE and data URLs use Base64URL; Bitcoin addresses and most wallet/seed formats use Base58; EU Digital COVID Certificates and some QR payloads use Base45; URL shortener IDs use Base62; ZeroMQ and RFC 1924 IPv6 use Base85/Z85; and Base32 appears in TOTP secrets and DNS. The Base-N Radix Converter also covers plain numeric radix 2–36.

### What is the difference between Base64 and Base64URL?

Standard Base64 uses + and / and often pads with =, which break in URLs and filenames. Base64URL replaces them with - and _ and makes padding optional, which is why JWTs and data URLs use it. The Base64URL tool converts both ways between standard and URL-safe forms.

### Is encoding the same as encryption?

No. These encodings are reversible representations of the same bytes — anyone can decode them and they hide nothing. They are for transport and inspection, not secrecy. For confidentiality use the cipher tools; encodings here only reformat data.

### Can I inspect a binary file as a hex dump?

Yes. The Hex Editor (File Viewer) is read-only: upload any binary file and it renders a classic hex dump with offset, hex-byte, and ASCII columns so you can see the raw structure without modifying anything.

## Related content

- [Binary Payload Encoding and Serialization Tools](https://elysiatools.com/en/hubs/binary-payload-serialization): Convert structured payloads between compact binary formats, transport encodings, and escaped text representations in one workflow hub.
- [Text Case, Encoding, and Normalization Conversion Tools](https://elysiatools.com/en/hubs/text-convert): Compare text case conversion, character-width conversion, encoding conversion, quoted-printable handling, and inline text normalization tools in one hub.
- [Unicode, Emoji, and Invisible Character Debugging Tools](https://elysiatools.com/en/hubs/unicode-emoji-debugging): Inspect hidden characters, normalize fullwidth text, decode escapes, review IDN punycode, and clean emoji-heavy strings in one Unicode debugging hub.
- [Key Generation, Signatures, and Trust Verification Tools](https://elysiatools.com/en/hubs/key-generation-signature-verification): Generate key material, inspect JWT and AGEX signatures, verify PDF and TLS certificates, and compare hashes in one focused trust-checking hub.
- [Classic and Modern Cipher Tools](https://elysiatools.com/en/hubs/classical-and-modern-cipher-tools): Encode and decode text with classical substitution ciphers (Caesar, Vigenère, ROT13/47, Atbash) and modern symmetric ciphers (XOR, RC4, AES-256-GCM) — for learning, CTF puzzles, and classroom cryptography.
