Base64 Encoder
WEBEncode and decode text to and from Base64 instantly.
What it does
Base64 Encoder in Carbide converts text to Base64 and back again — instantly, in your browser, with no server involved. Paste a plain-text string to encode it into the compact Base64 format used by email attachments, JWT tokens, data URLs, and API payloads. Or paste a Base64 string to decode it back to readable text in one click. The tool detects the direction automatically so you don't have to switch modes. There are no file size limits for text input, no account, no sign-up, and nothing is transmitted anywhere. Free and fully offline, Carbide's Base64 tool is the quickest way to inspect a token, debug an encoded payload, prepare an embedded image string, or verify that a Base64 value decodes to what you expect.
How to use the Base64 Encoder
- Paste your plain text into the input field to encode it, or paste a Base64 string to decode it — the tool detects the direction automatically.
- The result appears instantly in the output field below.
- Click 'Copy' to copy the encoded or decoded result to your clipboard.
- To switch direction manually, use the Encode / Decode toggle above the input.
Frequently asked questions
- What is Base64 used for?
- Base64 encodes binary or special-character data as plain ASCII text so it can travel safely through systems that only handle text — email (MIME), JSON payloads, JWT tokens, CSS data URLs, and HTTP Basic Auth headers all use it.
- Can I encode binary files, not just text?
- This tool works with text input. For binary files (images, PDFs) you would need a file-to-Base64 tool. This one is optimised for string and token workflows.
- Why does my decoded output look garbled?
- The input might not be valid Base64, or it may be encoding binary data rather than plain text. Base64 can encode anything — but not everything it encodes is human-readable text.
- Is the text I encode sent anywhere?
- No. Encoding and decoding happen entirely in your browser using JavaScript. Your input never leaves your device.