File tools that never upload your files
Base64 and URL encoder and decoder
Decode a Base64 string from an e-mail header or an API, encode credentials for a test, or fix a percent-encoded URL. Choose the encoding and the direction; the text is processed in your browser and never leaves your device.
5 free data and file results; text tools such as the JSON formatter never count. Paid plans have no usage limits.
How it works
- 1
Choose the encoding
Base64, URL-safe Base64 or URL percent-encoding.
- 2
Choose the direction
Encode or decode.
- 3
Copy the result
The result updates as you type.
Why work without uploading
Unicode-safe
Accents, emoji and non-Latin scripts are encoded as UTF-8 and decoded back correctly.
URL-safe variant
Base64 with - and _ instead of + and /, as used in JWTs and web addresses.
Private
Credentials and tokens are not sent anywhere.
Good to know
Base64 turns any text into letters, digits, + and /, so it can travel through systems that only accept plain characters — e-mail attachments, data URLs, HTTP headers. It is an encoding, not encryption: anyone can decode it, so never treat Base64 as a way to hide a password.
URL percent-encoding replaces characters that are not allowed in addresses with %XX codes, for example a space with %20. Decoding turns a long, unreadable link back into readable text.
If decoding fails, the input is not valid in the chosen encoding — check for missing characters or whether it is the URL-safe variant.
Questions and answers
Is Base64 encryption?
No. It is an encoding anyone can reverse.
Does it handle emoji?
Yes. Text is encoded as UTF-8.
Is my text uploaded?
No. It is encoded and decoded in your browser.
What is URL-safe Base64?
A variant that uses - and _ instead of + and /, so the text can sit in web addresses and JWTs.
Related tools
- Decode a JWTDebugging a login or an API call? Paste a JSON Web Token to read its header and claims and see when it expires. The token is decoded in your browser and never leaves your device.
- Calculate a file hashCheck that a download is genuine and complete by comparing its checksum with the one the publisher lists. Choose any file and the hashes are calculated in your browser, so the file never leaves your device.
- JSON formatter and validatorMake an unreadable one-line API response readable, shrink a configuration file, or find the missing comma that breaks your JSON. The JSON is processed in your browser, so it never leaves your device — tokens and keys included.
- Regex testerWrite a regular expression and see at once what it matches in your test text: each match highlighted, with its position and captured groups. Testing runs in your browser, so your text never leaves your device.