🔐
Base64 Encode/Decode
Convert text or files to Base64 and back, with Chinese, emoji and URL-safe support.
🔒 Local · no uploadsFree & unlimitedUTF-8 safeFile conversionURL-safe
Common use cases
- Debug Base64 fields in API responses (e.g. the trailing part of an image data URL, or a JWT payload).
- "File → Base64" turns an image into a data URL to embed directly in CSS/HTML; "Base64 → File" restores an API-returned Base64 string into a downloadable file.
- URL-safe mode swaps
+ /for- _and drops the trailing =, so it's safe to put in a URL. - Base64 is encoding, not encryption — don't use it to protect sensitive information.
Privacy
Encoding and decoding run entirely in your browser. Nothing is uploaded to any server.