Data and files

Base64 encoder and decoder

Encode or decode UTF-8 text as standard or URL-safe Base64.

UTF-8 text, up to 100,000 UTF-16 units. Base64 is encoding, not encryption. Only spaces, tabs and CR/LF are ignored when decoding. Standard alphabet includes padding; URL-safe omits it. Nothing is sent or saved.

Input and options

What this tool does

Encode or decode UTF-8 text using standard or URL-safe Base64 with padding and pad-bit validation.

How to use it

  1. Enter text or Base64 according to the selected operation.
  2. Choose standard with padding or URL-safe without padding.
  3. Process and copy the full result even if the preview is partial.

Verifiable example

Input
Text hello, standard encoding.
Expected result
aGVsbG8=; decoding returns hello.

Limitations to review

  • Base64 is not encryption and does not hide secrets. This tool accepts UTF-8 text, not arbitrary binary files.
  • Up to 100,000 UTF-16 units. Only spaces, tabs and CR/LF are ignored when decoding; invalid UTF-8 is rejected.

Read the full tutorial

Related tools

Browse all guides. Local processing: the page downloads HTTP resources but does not send files or input data to a server for these functions.