Base64 Encoder and Decoder
Encode text to Base64 or decode Base64 back to text, right in your browser. Full UTF-8 support, with one-click copy.
A Base64 encoder and decoder that turns text into a Base64 string and back again. Handy for developers and anyone who needs to move text inside a URL, a config file, or an API payload. It uses full UTF-8 encoding, so accented letters, non-Latin scripts, and emoji round-trip without breaking. Everything runs in your browser: no text is sent to a server and nothing is stored.
How to use this tool
- 01Choose encode or decodeThe "Encode" tab turns plain text into Base64. The "Decode" tab turns a Base64 string back into readable text.
- 02Paste your inputType text to encode, or paste a Base64 string to decode. The result updates as you type.
- 03Copy the resultThe output appears instantly, and you can copy it with one click to use in code, a URL, or a config file.
When is this useful?
- Embed data in codeEncode a short string to Base64 so it can sit safely inside JSON, a URL, or a config file without problematic characters.
- Inspect a token or headerDecode a Base64 part of a token or header to see what it contains while developing and testing. Note that this only decodes, it does not verify or unlock anything.
- Round-trip Unicode textEncode text in any language safely. Because the tool uses UTF-8, the characters come back exactly after decoding.
Examples
- Encode the word "Tooleem"Enter Tooleem in the Encode tab and the result is VG9vbGVlbQ==.
- Decode VG9vbGVlbQ==Paste VG9vbGVlbQ== in the Decode tab and the result becomes Tooleem again.
- Encode "Hello"The text "Hello" encodes to SGVsbG8=, and decoding it returns Hello exactly.
Tips for a better result
- Base64 is not encryptionBase64 only changes how text is represented, it does not hide it. Anyone can decode it back, so do not use it to protect passwords or sensitive data.
- Watch out for whitespaceWhen decoding, spaces and line breaks are cleaned automatically. If decoding fails, check that the full string was copied.
- The = sign is part of the encodingThe = characters at the end of a Base64 string are standard padding. Do not delete them, they are needed to decode correctly.
What is Base64 and why use it?
Base64 is an encoding scheme that turns binary data or text into a string of 64 safe characters (letters, digits, + and /). It is common when text has to travel through channels that only accept certain characters, for example inside URLs, in request headers, or in config files. The encoding makes the data about a third larger, but ensures it arrives intact.
Unicode and UTF-8 support
Many simple tools break non-Latin characters because they assume plain ASCII. This tool encodes to UTF-8 first and only then to Base64, so accented letters, non-Latin scripts, and emoji survive the round trip. That makes it safe to use for international text, not just English.
Privacy
All encoding and decoding happen in your browser. No text you enter is sent to a server or stored anywhere. Close the tab and everything is gone.
Frequently asked questions
What is Base64?
Base64 is a way of representing data using 64 safe characters. It converts text or binary data into a string that can travel through systems that only accept plain text, such as URLs, headers, and config files.
Is Base64 encryption?
No. Base64 is encoding only, not encryption. Anyone can decode a Base64 string back to the original text, so it should not be used to protect sensitive information.
Is my text uploaded?
No. All encoding and decoding happen in your browser. Nothing you type leaves your device.
Can I decode Base64 back to text?
Yes. Switch to the Decode tab and paste a Base64 string to get the original text back. The tool uses UTF-8, so Unicode text decodes accurately.
Why does decoding fail with an error?
Usually because the string is not valid Base64, for example it was copied partially or contains stray characters. Make sure you copied the full string, including the trailing = padding.
Can I use it for passwords or secrets?
No. Base64 does not hide or secure anything, so it is not suitable for passwords, tokens, private keys, or other secrets. Anyone can decode it instantly.
Related tools
- Word and Character CounterLive count of words, characters, lines, paragraphs, and estimated reading time. Useful for students, writers, and marketers.Open
- Text Diff CheckerCompare two texts line by line and see what was added, removed, or unchanged. Runs in your browser, nothing uploaded. Great for drafts, lists, messages, and code snippets.Open
- QR Code GeneratorCreate a QR code for any link or text, with colors and ready palettes. Download as PNG or SVG.Open

