Encode text or files to Base64 and decode Base64 strings back to plain text — instantly, in your browser. Handy for data URLs, basic auth headers, JWT payload inspection and email attachments.
How to encode or decode Base64
- Pick encode or decode mode.
- Paste your text into the input area.
- ToolPit converts in real time as you type.
- Copy the result to your clipboard with one click.
Frequently asked questions
What is Base64 used for?+
Base64 turns binary data into ASCII text so it can travel safely through systems that only support text — emails, JSON, HTTP headers and data URLs.
Does Base64 encrypt my data?+
No. Base64 is encoding, not encryption. Anyone can decode it instantly. Never use it to hide passwords or secrets.
Can I Base64-encode an image?+
Yes. Upload an image and ToolPit returns a data:image/...;base64,... string you can drop straight into HTML or CSS.