Base Encoding & Decoding Tool

Base encoding converts binary data into text using a limited set of characters. This tool supports Base64 (standard and URL-safe), Base32 (five variants), Base58, and custom alphabets—useful for everything from embedding images in HTML to generating cryptocurrency addresses.

Read the comprehensive Base Encoding Guide →

Encoding Format
Variant

Standard Base64 encoding for general-purpose use. Commonly used in MIME emails, data URIs, and JSON/XML.

Alphabet: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/
Padding: = (when needed)
Operation
Input Mode

Encoded Result

Supported Formats

FormatVariantAlphabetPaddingBest For
Base64StandardA-Z, a-z, 0-9, +, /

Yes (=)

General purpose, MIME, data URIs
URL-safeA-Z, a-z, 0-9, -, _NoJWT tokens, URLs, filenames
Base32RFC 4648A-Z, 2-7

Yes (=)

TOTP secrets, general use
Extended Hex0-9, A-V

Yes (=)

Hex sort order preservation
z-base-32ybndrfg8ejkm…NoHuman readability, Tahoe-LAFS
Crockford0-9, A-Z (no I,L,O,U)NoError tolerance, short IDs
Bech32qpzry9x8gf2t…NoBitcoin SegWit (alphabet only)
Base581-9, A-H, J-N, P-Z, a-k, m-zNoCrypto addresses, IPFS
CustomAny (2-256 chars)OptionalDomain-specific encoding

When to Use Each Format

Base64

Base32

Base58

Custom Alphabets

Security Warning

Base encoding is not encryption. Anyone can decode it instantly. Never use base encoding to protect sensitive data.

Learn More

The Base Encoding Guide explains how each algorithm works, with examples, performance comparisons, common pitfalls, and RFC specifications.