Loading Base64 to TSV Converter...
How to Convert Base64 to TSV
Tab-separated exports from spreadsheets and databases often get wrapped in Base64 so their tabs and line breaks survive a trip through a config file, an environment variable or a JSON field. Paste the string below to get the table text back and save it as a .tsv file.
Paste the Base64 string
Paste the string into the input panel or upload a .txt or .base64 file that holds it. The Sample button loads a small table with names, ages and cities.
- and _ is accepted too.Read the decoded TSV
A moment after you paste, the tab-separated text appears in the output panel exactly as it was encoded. If the Base64 is broken, cut off or holds a file rather than text, a message says what went wrong.
00501 or 14.50, quoted cells and blank lines come out exactly as encoded.Download or copy it
Click Download to save the text as decoded.tsv, or copy it from the output panel and paste it into a spreadsheet, where each tab starts a new column.
What is Base64 to TSV Conversion?
Base64 turns any bytes into letters, digits, + and /. TSV (tab-separated values) is plain text where a tab ends each cell and a line break ends each row. Those invisible tabs are easy to lose in YAML, shell variables and JSON strings, so the text is often stored or sent as Base64 instead. Decoding reverses that: the bytes come back and are read as text again.
The page reads the decoded bytes as UTF-8 and shows the result without touching it. It does not reorder, trim or retype anything; a short note appears if the text has no tabs at all, because then it is probably not TSV.
Frequently Asked Questions
Why would a TSV file be stored as Base64 in the first place?
Because tabs and line breaks are exactly what config files and JSON fields handle badly. A spreadsheet or database export pasted into a YAML config, an environment variable or a JSON API field tends to lose its tabs or break the file, so people encode it first. Test fixtures, seed data in CI secrets and report exports sent through APIs are the usual places you'll find one.
Will my IDs, zip codes and prices come back exactly?
Yes. The Base64 is turned back into bytes and read as UTF-8 text, and nothing is reformatted after that. 8901240544102066246 stays 8901240544102066246, 00501 keeps its leading zeros, 14.50 keeps its trailing zero, and tabs, quoted cells with line breaks inside them, Windows line endings and a byte-order mark at the start all come out as they went in. The .tsv download is the same bytes.
Can I paste the result straight into Excel or Google Sheets?
Mostly, yes. Select the decoded text in the output panel, copy it and paste it into cell A1: both programs split on tabs, so every column lands in its own cell. Be aware that the spreadsheet then guesses types for you, so 00501 can turn into 501 and a 19-digit ID gets rounded to 15 digits. To keep those exact, set the columns to Text before pasting, or download the .tsv file and open it with Excel's From Text/CSV import where you can choose the column type.
What kind of Base64 can I paste?
Plain Base64, Base64 split over many lines (as the base64 command or a MIME email writes it), URL-safe Base64 with - and _ with or without = padding, a data URI with ;base64, in it, and a value still wrapped in the quotes you copied it with from JSON or code. If a character does not belong in Base64, the error tells you its line and column, and a string that was cut short while copying is called out as such.
What happens if the decoded data is not TSV?
If the bytes are an image, a PDF, a ZIP or another binary file, you get a message instead of garbled text, with a link to Base64 to File, which saves the bytes as a file. If the text decodes fine but has no tabs in it, it is still shown, with a note: comma-separated data is most likely CSV, and JSON gets a pointer to JSON to TSV.
Is Base64 a safe way to hide the data in a TSV export?
No. Base64 is an encoding, not encryption. Anyone who has the string can decode it in a second, exactly as this page does. If the export holds customer details or anything private, encrypt it or keep it out of the config entirely; Base64 only makes it travel safely, not stay secret.
Is the TSV sent anywhere while I decode it?
No. Decoding runs in JavaScript in your browser and the .tsv download is built on your own machine. Nothing is uploaded and nothing is kept, so a reload starts with an empty editor.
Related pages: TSV to Base64 · Base64 to CSV · Base64 to File · JSON to TSV
Related Tools
Text to Base64
Encode plain text to Base64 format for APIs and data transmission
Base64 to Text
Decode Base64 encoded data to plain text for reading and debugging
JSON to Base64
Convert JSON data to Base64 format with validation
Base64 to JSON
Convert Base64 encoded data to JSON format with validation
XML to Base64
Convert XML data to Base64 format with validation
Base64 to XML
Convert Base64 encoded data to XML format with validation