← TOOLS.MAO.MS Home
简体
·
繁體
·
EN
Base64 Encode / Decode
Convert text and files to and from Base64 — entirely in your browser, nothing is uploaded.
Text
Try:
Hello, World!
a sentence
emoji
URL-safe (swap + / for - _)
Strip = padding
Wrap output every 76 chars
Encode to Base64
Decode to text
⇅ Swap
Copy result
File to Base64
Drop a file here, or click to choose one
Up to 10 MB per file; files are read locally in your browser and never uploaded.
Copy Base64
Download .b64.txt
Base64 back to a file
Download file name (editable)
Restore & download
The extension is guessed from the file header (PNG / JPG / PDF / ZIP …) and prefilled; .bin when unknown. Rename freely.
Every conversion happens in your browser — text and files never leave this device.