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).