Base64 Encoder/Decoder

Encode and decode Base64 strings safely with support for text and files

Text Encoding
File Support
URL-Safe Variant
Binary Data

Input (Plain Text/File)

Enter text or select a file to encode to Base64

Max file size: 5MB

Output (Base64)

Base64 Encoding Information

Standard vs URL-Safe

  • Standard: Uses +, /, and = characters
  • URL-Safe: Uses -, _, no padding (=)
  • URL-Safe is ideal for URLs and filenames
  • Standard is the most common format

Usage Tips

  • Base64 increases data size by ~33%
  • Perfect for embedding binary data in text
  • Commonly used in email attachments
  • File upload supports images, documents, etc.