How to encode or decode Base64
-
1
Enter text or Base64
Type plain text on the left or paste Base64 on the right.
-
2
Choose standard or URL-safe
Toggle URL-safe Base64 if needed for JWTs or query strings.
-
3
Or drop any image/file
Drag a file into the dropzone to generate a Base64 Data URI.
-
4
Copy or download
Copy the result or download a decoded Data URI back to a file.
Frequently asked questions
Why does standard btoa() fail on Bangla text, and does this tool fix it? +
Native btoa() only accepts Latin-1. This tool encodes via UTF-8 TextEncoder first so Bangla, emojis and all Unicode characters convert cleanly.
Related tools
Image to SVG Vectorizer
Trace PNG or JPG logos, icons and sketches into clean scalable SVG vector paths inside your browser.
Code Formatter, Minifier & Explainer
Format, minify and inspect JavaScript, JSON, HTML, CSS and SQL code locally in your browser.
JSON / CSV Formatter & Converter
Validate, pretty-print, minify, sort keys and convert between JSON and CSV with live table preview.
Regex Tester & Smart Pattern Generator
Test regular expressions live with match highlighting, capture groups, replacement preview and one-click pattern generator.
QR Code Generator & Scanner
Create custom PNG/SVG QR codes for URLs, Wi-Fi, phone & text, or scan QR codes from images and webcam.
Color Palette Extractor & Eyedropper
Extract dominant color palettes from any image and click any pixel to copy exact HEX/RGB codes.