Base64 encoder and decoder
Encode local UTF-8 text or a file as Base64/Base64url, and decode to text or a file.
How to use
Choose the operation and text/file mode, then select Base64url if needed. Enter data or choose a local file and review the result. File decoding downloads a new copy without changing the original.
Hello becomes SGVsbG8= in standard Base64, or unpadded SGVsbG8 in Base64url.
Support & limits
Based on RFC 4648: correct standard padding, zero pad bits and a single selected alphabet. Base64url accepts correctly padded or unpadded input and emits unpadded output. Encoding is not encryption; decoded content is untrusted and displayed only as text.
Common questions
Why can file decoding succeed while text decoding fails?
The bytes may be valid binary data but not UTF-8. Choose file decoding to save them unchanged; invalid text bytes are never replaced silently.
Related tools
JSON formatter and validator
Format, minify and validate JSON while preserving large numbers and rejecting duplicate keys.
URL encoder and decoder
Encode a complete URI or a component and decode percent escapes locally as text.
Text difference checker
Compare original and modified text line by line, showing insertions and deletions in a bounded local worker.