Codificador Base64
Encode text and files to Base64 format instantly
Input
Output
Base64 Encoding Examples
Text is converted to Base64 using the RFC 4648 alphabet. Example:
Simple text encoding
Input:
Base64 output:
Click Sample above to load more example data.
What Is Base64 Encoding?
Base64 is an encoding scheme that converts binary data into ASCII text using 64 printable characters (A–Z, a–z, 0–9, +, /). The RFC 4648 specification defines the standard.
This tool uses the browser's built-in btoa() function for encoding. For decoding Base64, use the Base64 Decoder.
How to Use This Tool
Paste or Upload
Paste your text into the left editor or click Upload to load a file. Use Sample to load example text.
Check the Output
The right panel shows the Base64-encoded result.
Copy or Download
Use Copy or Download. For embedding images, use Image to Base64.
How Base64 Encoding Works
Base64 takes 3 bytes (24 bits) of binary data and represents them as 4 ASCII characters.
For Data URIs, use the Image to Base64 tool.
Where Base64 Encoding Helps
Web developers use Base64 for inline images. APIs sometimes require binary data as Base64 strings.
To decode Base64, use the Base64 Decoder. For images, use Base64 to Image.
Frequently Asked Questions
Is my data private?
Yes. Encoding runs entirely in your browser.
What's the size limit?
It depends on your browser's memory. Files up to 10–15 MB generally work.
Can I encode images?
Yes. For Data URIs, use Image to Base64.
What about Unicode?
This tool handles UTF-8 text when pasted.
Is Base64 encryption?
No. Use the Base64 Decoder to decode.
Herramientas relacionadas
Ver RFC 4648.