Base64 Encoder/Decoder
Convert text and files to Base64 and back. Free, fast and 100% private.
base64.drop_text
All file types - Max 50 MB
Processing...
base64.output_title
base64.paste_hint
What is Base64 encoding?
Base64 is a binary-to-text encoding scheme that represents binary data as an ASCII string. Each Base64 character represents exactly 6 bits of data. Three bytes (24 bits) are encoded into four Base64 characters. It's a universal standard used in emails (MIME), data storage, URLs and more.
How to use?
Choose mode
Select encode (text to Base64), decode (Base64 to text), or file.
Enter your data
Type or paste your text, or drag and drop a file.
Copy the result
Copy the result or download it as a .txt file.
base64.seo.decode_what_title
base64.seo.decode_what_text
base64.seo.decode_howto_title
base64.seo.decode_step1_title
base64.seo.decode_step1_text
base64.seo.decode_step2_title
base64.seo.decode_step2_text
base64.seo.decode_step3_title
base64.seo.decode_step3_text
base64.seo.decode_formats_title
base64.seo.decode_format_raw
base64.seo.decode_format_raw_desc
base64.seo.decode_format_dataurl
base64.seo.decode_format_dataurl_desc
base64.seo.decode_format_html
base64.seo.decode_format_html_desc
base64.seo.decode_format_css
base64.seo.decode_format_css_desc
Features
base64.seo.feature_fast
base64.seo.feature_fast_desc
100% private
Your data never leaves your device. No server uploads.
base64.seo.feature_copy
base64.seo.feature_copy_desc
Bidirectional
Encode text to Base64 and decode Base64 to text.
base64.seo.formats_title
| base64.seo.format | base64.seo.mime_type | base64.seo.use_case |
|---|---|---|
| PNG | image/png |
base64.seo.png_use |
| JPG | image/jpeg |
base64.seo.jpg_use |
| WebP | image/webp |
base64.seo.webp_use |
| AVIF | image/avif |
base64.seo.avif_use |
| GIF | image/gif |
base64.seo.gif_use |
| SVG | image/svg+xml |
base64.seo.svg_use |
Use cases
base64.seo.usecase_html
base64.seo.usecase_html_desc
base64.seo.usecase_css
base64.seo.usecase_css_desc
base64.seo.usecase_email
base64.seo.usecase_email_desc
base64.seo.usecase_data
base64.seo.usecase_data_desc
Frequently asked questions
Is Base64 encoding secure?
Base64 is an encoding, not encryption. It doesn't protect your data. Anyone can decode Base64. For security, use proper encryption (AES, RSA, etc.) before Base64 encoding.
Why does the size increase by 33%?
Base64 encodes 3 bytes (24 bits) into 4 characters (6 bits each). This less efficient representation increases size by about 33%, but ensures compatibility with text-only systems.
What's the difference between standard and URL-safe Base64?
URL-safe Base64 replaces + with -, / with _, and removes padding = to be usable in URLs without additional encoding.
Can I encode any file?
Yes! Any file (images, PDFs, videos, documents...) can be Base64 encoded. The limit here is 50 MB for browser performance reasons.
Is my data sent anywhere?
No! All processing happens locally in your browser. Your data never leaves your device.