Base64 Encoder / Decoder

Convert text to Base64 or decode Base64 back to readable text, instantly and entirely in your browser.

Output will appear here.

How to use this

Choose Encode to turn regular text into Base64, or Decode to turn Base64 back into readable text. Everything runs locally in your browser using the same encoding built into JavaScript itself, so nothing you type is sent to a server. Use "Swap and use output as input" to quickly flip direction and double-check a round trip.

Frequently asked questions

How do I encode or decode Base64?

Choose Encode to turn regular text into Base64, or Decode to turn Base64 back into readable text. Use the swap button to send the output back in as input and double-check a round trip.

Is Base64 a way to hide or encrypt data?

No. Base64 is only an encoding. Anyone can decode it, so do not use it to protect passwords or secrets.

Is my text sent to a server?

No. The tool uses the encoding built into JavaScript and runs locally in your browser.