Encode/Decode Base64
Convert text to Base64 or decode Base64 text back to its original form.
How to Encode and Decode Base64 Online for Free
Write or paste your text
Enter the text you want to encode, or the Base64 text you want to decode.
Choose to encode or decode
Click the corresponding button depending on what you need to do.
Copy the result
Use the "Copy" button to take the result where you need it.
Why use this Base64 encoder/decoder?
Base64 is often used to embed binary data in text (such as in emails, URLs, or configuration files). PDFDocks does it directly in your browser, without sending your text to any server.
What is Base64?
+
It's a way to represent binary data using only readable text (letters, numbers, and a few symbols), useful when a system only accepts plain text.
Is Base64 a form of encryption?
+
No. Base64 doesn't hide or protect anything — anyone can decode it easily. It's just encoding, not encryption. If you need to actually protect a file, use our "Encrypt file" tool.
Is my text sent to any server?
+
No. Encoding and decoding happen completely in your browser.