Base64

Encode and decode base64, including URL-safe and binary payloads.

Encode or decode base64 — text or a file, standard or URL-safe, with correct UTF-8 both ways.

Try

Plain text

What to encode

Base64

Result

Encoded base64 will appear here.

About

Text is encoded through TextEncoder rather than btoa, which throws on any character above U+00FF.