Choose Encode or Decode mode
Paste your text or Base64 string
Click 'Convert' and copy the result
Encode small images to Base64 to embed them directly in HTML img tags or CSS background-image properties, eliminating HTTP requests.
Base64 is used to encode binary file data (images, PDFs, audio) for transmission in JSON API request and response bodies.
Encode text or configuration values to Base64 to prevent casual reading. Note: Base64 is encoding, not encryption.
Email protocols use Base64 encoding to transmit binary attachments over text-based protocols.
YAML, XML, and other text formats use Base64 to embed binary data within text-based configuration files.
No. Base64 is an encoding scheme, not encryption. It is trivially reversible and provides no security. Never use it to protect sensitive data.
Standard Base64 uses A–Z, a–z, 0–9, +, and /. URL-safe Base64 replaces + with - and / with _.
The = padding characters are added to make the Base64 string length a multiple of 4.
No. Encoding and decoding happens entirely in your browser using JavaScript's btoa() and atob() functions.
Base64 encoding increases file size by approximately 33%. A 100 KB file becomes about 133 KB when Base64 encoded.