Text & Encode
Encode or decode Base64 text and files locally.
Runs entirely in your browser
Nothing you paste is uploaded. Monaco and Prettier load on demand from this origin.
Mode
Input
Output
There is no upload endpoint — your files are processed in this browser tab. Open your network tab and check. See how it stays private.
How to base64 encode decode
- Paste or drop input. Type or paste text, or drop a file to encode; paste Base64 to decode.
- Choose direction. Pick encode or decode, and the character set (standard or URL-safe) if needed.
- Convert. The result updates instantly, computed on your device.
- Copy or download. Copy the output text or download the decoded file.
Base64 shows up everywhere developers work: data URIs, JWT segments, email attachments, Kubernetes secrets, and API payloads that need binary-safe transport. The catch is that people often paste sensitive strings — tokens, keys, secrets — into random online encoders.
Doing it locally removes that risk entirely: the conversion is instant and the input never leaves the tab. You can switch between standard and URL-safe alphabets, and round-trip files as well as text.
Remember Base64 only encodes, it does not secure — to actually protect data use AES file encryption in the Security Vault, and to inspect a token's contents use the JWT decoder.
Frequently asked questions
Is Base64 encryption?
No. Base64 is an encoding, not encryption — it is trivially reversible. Never use it to protect secrets; use real encryption for that.
What is URL-safe Base64?
A variant that replaces the '+' and '/' characters (and drops padding) so the string is safe inside URLs and filenames.
Can I decode a Base64 file, like an image?
Yes. Paste a Base64 string and download it back as the original binary file, or encode a file to a Base64 string.
Is my data uploaded?
No. Encoding and decoding run in your browser tab; text and files never leave your device — useful when the data is a token or key.