Base64 Encoder Decoder
Encode UTF-8 text or a file as Base64, or decode Base64 back to its original bytes. Copy text or download the result.
- Free
- Works Offline
- No Uploads
How to Encode and Decode Base64
- Open the HTML, review Security Check, then select Continue.
- Choose Encode or Decode and Standard or URL-safe Base64.
- Open one local file, open the sample, or paste text and choose Encode Text or Decode Text.
- Read the input and output byte counts. Choose Download for exact bytes or Copy for eligible text.
- Choose Decode This Output or Encode This Output to reverse the operation on the current result.
Base64 Encoder Decoder Features
- Encode a local file or UTF-8 text. Standard Base64 with padding is the default.
- Choose URL-safe Base64 for the - and _ alphabet. Decoding checks characters, padding and trailing bits.
- Download exact bytes, copy eligible text, or use the result as the input for the reverse operation.
Formats and Compatibility
| Input | Pasted text up to 2 MiB, an original file up to 32 MiB, or a Base64 file up to 48 MiB. Decoded output is limited to 32 MiB. |
|---|---|
| Output | Canonical Base64 text or exact decoded bytes. Invalid UTF-8 gets a short hex preview and a binary download. |
| Browser | A modern browser with local file support. |
| Scope | Up to 32 MiB of original or recovered bytes, 48 MiB of Base64 in a file, and 2 MiB of pasted text. |
| Operating Systems |
Local Processing Without Uploads
This browser-based Base64 tool works offline, with no upload or account.
Select Open Sample to see the workflow with the included example.
Standard and URL-Safe Base64
The Base64 file encoder uses + and / for Standard or - and _ for URL-safe Base64. The Base64 decoder accepts padded or unpadded canonical input for the selected alphabet. The optional ASCII whitespace setting accepts spaces, tabs, CR, LF and form feeds.
Recover the Original Bytes
Open Sample encodes the bytes 00 ff 10 as AP8Q. Decode the result and download the same three bytes. The preview is shortened for large outputs, and Download always contains the complete result.
Frequently Asked Questions
Can I run Base64 encode decode offline?
Yes. Extract the Tool ZIP and open the standalone HTML.
How does local Base64 encode decode handle files?
The browser performs the transformation on the file you select.
Is free Base64 encode decode available?
Yes. The Tool ZIP is free for personal and business use under the LocalStudio Free Software License.
Can I use Base64 encode decode without uploading files?
Yes. Files, text and conversion output stay on your device.
How does Base64 encode decode in browser mode work?
Choose an operation, an alphabet, and File or Paste Text. Use Download for the full result.
Where is the Base64 encode decode download?
Select Download Tool ZIP and extract Base64EncoderDecoder.html.
Does Base64 hide the source bytes?
Base64 is reversible encoding. Anyone with the encoded text can recover the bytes.
Can I copy decoded binary data?
For exact binary bytes, use Download. Copy is available for valid UTF-8 and encoded text up to 1 MiB.
How are text line endings handled?
The browser text field uses LF. Use a file input when you need to preserve exact CRLF bytes or another encoding.
Does this tool work offline on Windows, macOS, Linux, and ChromeOS?
Yes. Local Studio tools run offline on Windows, macOS, Linux, and ChromeOS. Download the tool ZIP, extract it, and open the included HTML file in a supported browser. Your files are processed on your device without uploads.
Which browsers can I use with this offline tool?
Use a current version of Google Chrome, Microsoft Edge, Mozilla Firefox, or Safari where that browser is available for your operating system. Chrome is built into ChromeOS, and Safari is available on macOS.