Base64 encoder / decoder
Encode Unicode text as Base64 or decode it, with URL-safe options and an interactive byte preview.
How it works & useful details
How to use this tool
Choose Encode or Decode, paste text, and inspect the live conversion. Swap reverses the result into the input.
Details and limits
UTF-8 text only. Invalid UTF-8 and noncanonical Base64 padding bits are rejected. Standard Base64 uses + and /; URL-safe uses - and _ and omits padding. Both accept correctly unpadded input and ASCII whitespace.
Up to 100,000 input code units. Live preview pauses above 8,000. Inputs and outputs stay on your device.
