Base64 Encoder
Encode text or a text file as Base64, with an optional URL-safe variant. Runs entirely in your browser. Nothing is uploaded, and pastes are capped at 200,000 characters.
How it works
- Type or paste text, or drop a text file, up to 200,000 characters
- Choose Base64, or Base64 URL to use - and _ instead of + and / and drop the = padding
- Run it and copy the result. Text is encoded as UTF-8, so accents and emoji survive
When people use this
- Encode user:password for an HTTP Basic auth header: the result is dXNlcjpwYXNzd29yZA==
- Use Base64 URL for a value that has to sit inside a link or a query string
- Not for secrets or binary files: anyone can decode Base64, and dropped files are read as text