Free Tool
Base64 Encoder / Decoder
Encode text to Base64 or decode Base64 strings instantly. Supports UTF-8, Unicode, and special characters. 100% client-side — nothing sent to servers.
What Is Base64 Encoding?
Base64 is a binary-to-text encoding scheme that represents binary data as ASCII characters. It's commonly used to embed images in HTML/CSS (data URIs), encode email attachments (MIME), transmit data in URLs and APIs, and store binary data in JSON or XML. The encoding uses 64 characters: A-Z, a-z, 0-9, +, /, and = for padding.
Common Use Cases
- • Data URIs — Embed images directly in HTML:
data:image/png;base64,... - • API Authentication — HTTP Basic Auth encodes credentials as Base64
- • JWT Tokens — JSON Web Tokens use Base64url encoding for header and payload
- • Email — MIME encoding for attachments and non-ASCII content
Need more developer tools?
31 free SEO, developer, and website optimization tools — no signup required.
Browse All Tools