Text to Base64
Encode text to Base64. Base64 is an encoding format, not encryption — it converts text or files into ASCII characters so they can be transmitted safely in emails, APIs, JSON, and other text-based formats. Base64 is an encoding format, not encryption — it converts text or files into ASCII characters so they can be transmitted safely in emails, APIs, JSON, and other text-based formats.
How it works
1
Type
Paste or type your text
2
Encode
Encoding is instant
3
Copy
Get the Base64
Features
UTF-8 compatible
— accents, special characters and emojis encoded correctly.Instant
— the result updates as you type.100% local
— your text never leaves your browser.Common use cases
Embedding a small image directly inside CSS or HTML
Preparing binary data to send through a JSON API
Encoding an API key or token for transmission
Your data stays private
This runs entirely in your browser. The text you paste is never sent anywhere, and nothing is stored.
Frequently asked questions
What is Base64?
An encoding that represents binary data as ASCII text, widely used on the web and in email.
Are accents handled?
Yes, text is encoded as UTF-8 before conversion.
Is my data sent online?
No, everything happens in your browser.
Do I need to upload a file?
No, just type or paste your text directly into the text box.
Do I need to install anything?
No, it works directly in your browser.
Do I need to upload a file?
No, just type or paste your text directly into the text box.
Do I need to install anything?
No, it works directly in your browser.