Base64 Encoder & Decoder

When encoding, padding "=" will be removed; when decoding, missing padding will be auto-added.
0 Chars
0 Chars
0 Chars
0 Chars
0 Chars
Image preview will appear here
About Base64

Base64 is an encoding scheme that converts binary data into ASCII strings, commonly used to transmit data in text-based protocols such as email, JSON, and URLs.

  • πŸ“¦ Standard Base64 uses the character set A-Z a-z 0-9 + / and uses = for padding.
  • πŸ” URL-safe variant: replaces + with - and / with _, and typically removes padding = to avoid URL encoding issues.
  • 🌐 This tool supports Unicode characters (e.g., Chinese) and internally processes them via UTF-8 encoding.
  • πŸ–ΌοΈ Image parsing: In the Image tab, paste Base64 image data (may include the data:image prefix) and click Parse to preview and display image information. Supports automatic detection of common image formats (PNG, JPEG, GIF, BMP, WebP, SVG).
  • ⚠️ If the input is not valid Base64 during decoding, an error message will be displayed in the output box.
  • πŸ’‘ Example: Hello δΈ–η•Œ encodes to SGVsbG8g5LiW55WM (URL-safe: SGVsbG8g5LiW55WM, without padding).