Base64 encode and decode

Encode text or any file to Base64, or decode Base64 back to text or a file.

Direction
Alphabet
Line length
Text or file
Base64
Type text or open a file to encode it.
  1. 1Paste text or Base64, or drop a file.
  2. 2Pick encode or decode. URL-safe Base64 is supported.
  3. 3Copy the result or download the file.
Does my data leave my device?
No. Everything you paste or open is processed in your browser and stays on your device.
Does it work offline?
Yes. Once this page has loaded, it keeps working without an internet connection.
Is there a size limit?
No limits from us. Very large inputs can be slow because the work uses your device's memory.

Related tasks

Ready-made settings for common jobs.

Other tools

More tools for everyday coding.