Plain Text or File Input
Base64 Encoded Output
SGVsbG8gVVRGLTg6IGNhZsOpIOKckw==
How to Use Base64 Encode
Convert Unicode text (including accented letters and emojis) or uploaded binary files into RFC 4648 Base64 output.
Step 1
Enter text or upload a small file.
Step 2
Optionally toggle Data URI output format.
Step 3
Click "Copy Base64 String".
Important Limitations
- •Remember that Base64 is an encoding, NOT encryption—anyone can decode a Base64 string back to plain text.
Network & Storage Note: Encoded locally via TextEncoder and FileReader.
What Base64 Encode Includes
UTF-8 multi-byte safe
Optional data: MIME URI prefix
File-to-Base64 encoding
Frequently Asked Questions
Frequently Asked Questions
Find quick answers about functionality, security, and usage limits.
Standard btoa() only accepts single-byte Latin1 characters. This tool converts strings to UTF-8 bytes with TextEncoder first so emojis and accents encode accurately.
More Developer & Format Tools
Markdown to HTML Converter
Convert Markdown text into formatted or minified semantic HTML markup.
Developer & Format Tools
Open
HTML to Markdown Converter
Convert HTML headings, paragraphs, lists, links, and tables into clean Markdown.
Developer & Format Tools
Open
Popular
JSON Formatter + Validator
Beautify, minify, and validate JSON syntax with exact error feedback.
Developer & Format Tools
Open
Featured
YAML ↔ JSON Converter
Convert between YAML configuration files and JSON two-way using js-yaml.
Developer & Format Tools
Open