Base64 Encoder & Decoder
Convert text or any file to Base64, or decode Base64 back to readable text or the original file. Handles UTF-8, URL-safe base64url and data URLs.
- PrivateYour data never leaves this device
- No uploadsProcessed in your browser, not on a server
- 100% freeNo signup, no watermark, no trial
- UnlimitedUse it as often as you like, no daily caps
Text or file to encode
Result
Output appears here.How to use the Base64 Encoder/Decoder
- Choose Encode or Decode.
- Type or paste your text — or pick a file to encode.
- The result updates instantly as you type.
- Copy the result, download it, or copy it as a data URL for files.
Latest guides
All →
SEO & MarketingHow to make a Wi-Fi QR code so guests join without typing
Make a WiFi QR code so guests join your network by pointing a phone camera at it. The format, hidden networks, special characters, safety…
12 Nov 20266 min read
PDF ToolsHow to watermark NID and certificate copies before sharing
Watermark NID copy and certificate PDFs with who it is for, the purpose and the date, so a copy given for one job is hard to reuse for…
12 Nov 20265 min read
PDF ToolsHow to number the pages of a thesis or project report PDF
Thesis page numbering made simple: the usual rules for front pages and chapters, and how to number a finished PDF from Chapter 1 for free…
12 Nov 20265 min readFrequently asked questions
What is Base64 encoding?
Base64 represents binary data using 64 safe ASCII characters (A–Z, a–z, 0–9, + and /). It's used to put files and binary data inside text formats like JSON, email (MIME), HTML and CSS data URLs.
Is Base64 encryption?
No. Base64 is an encoding, not encryption — anyone can decode it. Never use it to hide passwords or secrets.
Why is the Base64 output bigger than the input?
Every 3 bytes of input become 4 Base64 characters, so encoded data is about 33% larger (plus line breaks if you wrap lines).
What is URL-safe Base64 (base64url)?
base64url replaces + with - and / with _ and drops the = padding, so the result can be used in URLs, file names and JWTs without escaping. This tool decodes both variants automatically.
Are my files uploaded?
No. Encoding and decoding run entirely in your browser; your text and files never leave your device.