Base64 Decode and Encode Text
Encode and decode text to/from Base64 format.
- No uploads
- No account
- No ads
- No watermarks
- Free forever
Network check starts when you add a file or change something in the tool
Blocks every fetch, XHR and beacon request this page makes and switches Google Analytics off, on tool pages, for this session.Requests this page makes are counted from then on; page-load requests are left out.
How this works / check it yourself
From the moment you add a file or change something in the tool, this badge lists the requests this page makes. It reads the browser's own list of requests (Resource Timing), which shows a request once it finishes, and watches every fetch, XHR and beacon call. Downloads, such as this site's PDF and OCR engines or an AI model from Hugging Face, are listed apart from requests that carry data out.
This page cannot see requests made inside background workers (such as the PDF engine pdf.js and Tesseract OCR), WebSocket and EventSource connections, form submissions, link pings or the site's service worker, so they are not counted here, and offline mode cannot block them. A request is listed once it finishes. Your browser's Network tab shows everything.
Offline mode blocks the fetch, XHR and beacon calls this page makes. A part of the site that set up its connection before the page finished loading, such as sign-in, is not blocked; if it sends anything, the badge counts it as sent.
- Open your browser's developer tools (F12, or Cmd+Option+I on a Mac) and choose the Network tab.
- Add your file, run the tool and look for any request that uploads it. Requests made by workers are listed there too.
- For the strongest test, turn Wi-Fi off once the page has loaded and run the tool again: tools that need no download still work.
More tools in Text Tools
All Text ToolsAbout Base64 Text Encoder
Encode text to Base64 or decode Base64 back to readable text. Text is read as UTF-8, so accents, symbols and emoji survive the round trip. The decoder also accepts URL-safe Base64 and missing padding. Encoding and decoding run in your browser, so what you paste is not uploaded to a server.
How to use Base64 Text Encoder
- Choose Text → Base64 or Base64 → Text.
- Paste your text or Base64 string.
- Copy the result from the output box.
Limits: Text only; use the Base64 image encoder for images. Decoding fails if the input is not valid Base64 or the bytes are not UTF-8 text. Output uses standard Base64 with + and /.
Worked example
Decoding and encoding short strings
- Base64 → Text: SGVsbG8sIHdvcmxkIQ== decodes to Hello, world!
- URL-safe input without padding works too: Y2Fmw6k decodes to café.
- Text → Base64: café encodes to Y2Fmw6k= in standard Base64.
Frequently asked questions
How do I decode a Base64 string?
Choose Base64 → Text and paste the string. The decoded text appears below. Spaces and line breaks in the input are ignored.
Does it support URL-safe Base64?
Yes, for decoding. The characters - and _ are read as + and /, and missing = padding is added for you. Encoded output always uses the standard alphabet with + and / and = padding.
Why does decoding fail?
Decoding fails when the input holds characters outside the Base64 alphabet or misplaced = padding. It also fails when the decoded bytes are not UTF-8 text, for example a Base64 image or zip file.
Is Base64 encryption?
No. Base64 is an encoding, not encryption. Anyone can decode it, so do not use it to hide passwords or secrets.
Is my text sent to a server?
No. Encoding and decoding run in your browser with JavaScript. Nothing you paste is uploaded.