Skip to content

Base64 Encoder and Decoder

Encode and decode Base64 for UTF-8 text and files, standard or URL-safe.

URL-safe is often unpadded.

Decoding accepts either alphabet, with or without padding, and ignores spaces, tabs and line breaks, but not non-breaking spaces.

Runs entirely in your browser. Nothing you type or open is sent to a server.

Line breaks in this box are encoded as LF. Open a file to keep CRLF.

A leading data:...;base64, prefix is removed.

This may already be Base64.