← All Tools
Base64 Encoder🔒 100% local
Encode text to Base64. Privacy-first, no server uploads.
Related Tools
Base64 encoding rewrites bytes using a 64-character alphabet -- A-Z, a-z, 0-9, plus and slash -- so that data which would otherwise break a text-only channel can travel through it intact. Three bytes become four characters, which is the whole trick: nothing is compressed, scrambled or secured. This encoder runs entirely in your browser, so the text you paste is never transmitted anywhere.
How to use it
- Paste or type your text into the input box.
- Press Encode.
- Copy the Base64 string from the output, or use the Clear button to start again.
Worked example
Hello, World!becomesSGVsbG8sIFdvcmxkIQ==Three input bytes become four output characters; the padding signalled by the equals signs is normal.
café ☕becomesY2Fmw6kg4piVAccents and emoji are encoded from their UTF-8 bytes, so non-ASCII text grows more than plain English does.
When to use it
- Putting text into a URL query parameter, a JSON field or a configuration value that has to stay plain ASCII.
- Storing small binary blobs in a place that only accepts text, such as a database column or a YAML file.
- Embedding a small image directly in HTML or CSS with a data: URL, so no separate file has to be fetched.
- Inspecting a token or payload that you can only copy out as text, where the readable parts start appearing once it is decoded.
What it does not do
- It is encoding, not encryption. Anyone can reverse it in one step, so it must never be used to protect a password, an API key or any other secret.
- It makes your data larger: expect roughly a 33% increase, because every three bytes turn into four characters.
- It does not make data safe to drop into HTML or SQL. Decoded content can still contain markup or quotes, so escape it for its destination as well.
- If the system receiving your output expects a specific character set, check which one: this tool encodes UTF-8, which is what most modern systems assume.