Generate Universally Unique Lexicographically Sortable Identifiers with high performance
Base64 Encoder & Decoder
Encode any text or binary data to Base64, or decode Base64 strings back to plain text. Supports standard Base64, URL-safe Base64 (RFC 4648), and file encoding. All processing happens in your browser.
Base64 & URL Encoder/Decoder
-Real-time two-way encoder and decoder for Unicode, URL safe variants, and small files
// Hexadecimal byte stream will be parsed and displayed here... Supports JPEG, PNG, SVG, PDF and other file formats up to 5MB. Processing is fully local and sandboxed.
What is Base64?
Base64 is a binary-to-text encoding scheme that represents binary data using 64 printable ASCII characters (A–Z, a–z, 0–9, +, /). It's widely used to encode binary data in contexts that only support text — like email attachments, data URLs, and JWT tokens.
Common Use Cases
JWT Tokens
JWT header and payload are Base64URL encoded
Data URLs
Embed images inline as base64 in HTML/CSS
API Authentication
Basic Auth credentials are Base64 encoded
Email Attachments
MIME encoding uses Base64 for binary files
Cookies & Storage
Encode binary data for text-only storage
Cryptographic Keys
PEM keys use Base64 encoding
Standard vs URL-safe Base64
Standard Base64 uses + and / which are not URL-safe. URL-safe Base64 (RFC 4648) replaces them with - and _, making it safe for use in URLs and filenames without percent-encoding.