Base64 encode / decode
Encode or decode Base64 strings instantly
Plain text
Base64 output
Encode and decode Base64 text or files
Free online Base64 encoder and decoder. Encode text or files to Base64 or decode Base64 strings instantly in your browser.
Text to Base64 and Base64 to text
Switch between encode and decode mode to convert plain text into Base64 or decode a Base64 string back into readable text.
File and image Base64 conversion
Use file mode to convert images, PDFs or documents into a data URL that can be copied for testing, CSS, HTML or API payloads.
Related tools
Frequently asked questions
What is Base64 encoding used for?
Base64 represents binary or text data using ASCII characters. It is often used in data URLs, API payloads, email attachments and quick developer testing.
Can this decode Base64 back to text?
Yes. Choose decode mode, paste a Base64 string, and the decoded text appears instantly.
Are uploaded files sent to ToolsNest?
No. File conversion happens in your browser using the FileReader API.
