Base64 Tools
Encode images and data as Base64, or decode Base64 back into images, JSON, CSV, XML and more. Useful for data: URLs, API payloads and email attachments.
All Base64 Tools
- Image to Base64Turn an image into a Base64 string.
- Base64 to ImageTurn Base64 into a downloadable image.
- PNG to Base64Turn a PNG into a Base64 string.
- JPG to Base64Turn a JPG into a Base64 string.
- JSON to Base64Turn JSON into a Base64 string.
- XML to Base64Turn XML into a Base64 string.
- YAML to Base64Turn YAML into a Base64 string.
- Base64 to JSONTurn Base64 into structured JSON.
- Base64 to XMLTurn Base64 into well-formed XML.
- Base64 to YAMLTurn Base64 into clean YAML for config files.
- CSV to Base64Turn CSV into a Base64 string.
- Base64 to CSVTurn Base64 into a CSV file for Excel or Google Sheets.
- TSV to Base64Turn TSV into a Base64 string.
- Base64 to TSVTurn Base64 into tab-separated rows that paste into a spreadsheet.
- Binary to Base64Turn binary into a Base64 string.
- Base64 to BinaryTurn Base64 into binary data.
- Hex to Base64Turn hex into a Base64 string.
- Base64 to HexTurn Base64 into hex bytes.
- Octal to Base64Turn octal into a Base64 string.
- More Base64 ToolsEncode or decode any text or file as Base64.
How it works
- Step 1
Pick the direction you need below.
- Step 2
Paste text or choose a file.
- Step 3
Copy the Base64 string (or data: URL), or download the decoded file.
Good to know
- Base64 makes data about 33% larger, so inline only small images such as icons.
- Base64 is an encoding, not encryption — anyone can decode it.
- Free, no sign-up
- Runs in your browser
- Works on phones
Frequently asked questions
Are these Base64 Tools free?
Yes. Every one of these Base64 Tools is completely free, with no sign-up, no watermark and no daily limit.
Is the data I paste sent to a server?
No. Conversion runs in JavaScript inside this browser tab and nothing you paste is sent or stored. Even so, avoid pasting live passwords, API keys or private customer data into any website.
Why do I get an error?
Almost always the input isn’t quite valid: a missing comma or quote in JSON, an unclosed tag in XML, or a tab in YAML. The error message shows where parsing stopped — fix that spot, or press “Load example” to compare with input that works.
Does it work on my phone?
Yes. It works in any modern browser on Android, iPhone, tablets and computers — nothing to install.