Base64 encode & decode
Choose encode or decode and paste your data. Changing how you view the result never changes the operation itself.
Local · no upload · encoding is not encryptionProcessing rules, data integrity & privacy
- Encoding accepts source text or files; decoding accepts Base64 / Base64URL. To add another encoding layer, explicitly encode the representation as source text.
- Format conversion requires different formats; use the dedicated validation / normalization mode for the same format. Alphabets cannot be mixed; invalid padding and non-zero pad bits are rejected. Hex does not accept 0x prefixes or arbitrary separators.
- UTF-8 decoding is strict and preserves BOM. Non-text results can be viewed as Hex or downloaded. Text areas may normalize line breaks, so use files for exact round trips.
- Input limit: 1 MiB; result limit: 4 MiB; encoded text is additionally limited to 4 Mi UTF-16 units. Decompression checks size incrementally and returns no partial result on overflow. Peak browser memory cannot be fully bounded. Tasks time out after 10 seconds and can be cancelled.
- Preview shows up to 65,536 UTF-16 units; copy and download still use the complete result. Switching views does not rerun the operation; editing source data or operation settings disables stale results.
- Clearing or replacing with a sample requires confirmation and cannot be undone. Data is processed only in this page’s memory and Worker; it is not uploaded, written to URLs or persistent storage, or executed as HTML. Results are released when you leave, so keep your own backup.