No uploads · runs in browser
Base64 Encoder
Encode and decode Base64 in your browser. URL-safe mode and file conversion included.
Decoding tolerates whitespace, URL-safe characters, and missing padding.
Favorite it to find it fast on home
When to use it
Decode a JWT payload to read its claims
Turn an image file into a data URI for inline HTML
Read a Base64 string from an API response
How to use it
1Step 1Pick a file in Input, or drag and drop it
2Step 2Press Encode → and it is done
3Step 3Download the result, or send it with the share button
If the result looks off
The file will not open
Check that the format is supported. If it is password protected, unlock it and try again.
I do not like the result
Your original is untouched — change the options or preset and try again.
Frequently asked questions
Are files uploaded?
No. Files are read inside your browser and converted to data URLs.
When should I use URL-safe mode?
For JWTs, OAuth tokens, and query parameters where + and / would break. Use standard mode for APIs and email.