Base64 encoder and decoder
Convert text or files to Base64 and back. Choose the standard or URL safe alphabet, add or drop padding, wrap lines at 64 or 76 characters, and create data URLs. Decoded images and audio are previewed so you know what you have.
Tooloat runs in your browser and needs JavaScript. It opens in a moment, and your files are processed on your device.
How it works
- Paste text, or drop a file.
- Choose encode or decode and the options.
- Copy or download the result.
Why use it
- Text and file encoding, in bulk.
- URL safe alphabet, padding and line wrapping.
- Data URL output with a MIME type.
- Image and audio preview when decoding.
Questions and answers
What is Base64 used for?
It represents binary data as plain text, for example inside JSON, emails, data URLs and tokens.
Is Base64 encryption?
No. Anyone can decode it, so do not use it to protect secrets.
Are my files uploaded?
No. Encoding and decoding happen in your browser.
Related tools
- JWT decoder and debuggerPaste a JSON Web Token to read its header and payload, see when it expires and check the signature with a secret or public key.
- AES-256 text encryption and decryptionProtect a note, a message or a snippet with a password.
- Hash generator and file checksum calculatorCheck that a download is intact or that two files are identical.
- JSON formatter and validatorPaste JSON and get it pretty printed, minified or key sorted.