᠎᠎᠎          
51K

TSV to Base64 Converter

World's simplest tsv tool
Simple and free online TSV to base64 converter. Just paste Tab Separated Values (TSV) in the form below, and the tool will encode the entire table as base64 text. You can keep the encoded output on one line, split it into fixed-length lines, or create a TSV Data URI with the proper MIME type. Created by programmers from team Browserling.
We created a cloud browser! Browserling
Check out our project Browserling – anonymous cloud browser.
Base64 Output Lines
Break encoded TSV into fixed-length base64 lines.
Characters per base64 line.
Return TSV base64 as one continuous string.
TSV Data URI
Prefix output with "data:text/tab-separated-values;base64,".

What is a TSV to Base64 Converter?

learn more about this tool
This online tool converts Tab Separated Values (TSV) into base64-encoded text. TSV files are easy to read because rows are separated by newlines and cells are separated by tabs, but those same tabs and line breaks can be inconvenient when the table needs to be embedded in source code, copied into a JSON field, placed in a test fixture, or sent through a text-only channel. Base64 turns the complete TSV document into a plain ASCII string while preserving every tab, newline, and cell value in the original table. In the options, you can choose whether the base64 result should be printed as one continuous line or split into shorter lines of a custom length. Shorter lines are useful for email bodies, configuration files, and other places where very long strings are difficult to inspect. The tool can also add a Data URI prefix and create output that starts with "data:text/tab-separated-values;base64,". To decode base64 text back into tab-separated rows and cells, use our Convert Base64 to TSV tool. Tsv-abulous!

TSV to Base64 Converter examples

Click to use
Encode a Hiking Route TSV
In this example, we convert a small TSV table about hiking routes into a single base64 string. The original table has three columns with trail names, regions, and preferred seasons. Because one-line output is enabled, the entire encoded TSV appears as a single, uninterrupted base64 string.
trail region season Annapurna Nepal autumn Laugavegur Iceland summer Drakensberg Lesotho spring Milford Aotearoa winter
dHJhaWwJcmVnaW9uCXNlYXNvbgpBbm5hcHVybmEJTmVwYWwJYXV0dW1uCkxhdWdhdmVndXIJSWNlbGFuZAlzdW1tZXIKRHJha2Vuc2JlcmcJTGVzb3RobwlzcHJpbmcKTWlsZm9yZAlBb3RlYXJvYQl3aW50ZXI=
Required options
These options will be used automatically if you select this example.
Return TSV base64 as one continuous string.
Prefix output with "data:text/tab-separated-values;base64,".
Create Chunked Mineral TSV Base64
In this example, we encode a TSV mineral catalog with mineral names, families, and colors. To make the encoded result easier to scan and paste into narrow text fields, the base64 output is split into lines that contain 24 characters each.
mineral family color axinite silicate violet celestine sulfate azure rhodochrosite carbonate rose prehnite silicate green
bWluZXJhbAlmYW1pbHkJY29s b3IKYXhpbml0ZQlzaWxpY2F0 ZQl2aW9sZXQKY2VsZXN0aW5l CXN1bGZhdGUJYXp1cmUKcmhv ZG9jaHJvc2l0ZQljYXJib25h dGUJcm9zZQpwcmVobml0ZQlz aWxpY2F0ZQlncmVlbg==
Required options
These options will be used automatically if you select this example.
Break encoded TSV into fixed-length base64 lines.
Characters per base64 line.
Prefix output with "data:text/tab-separated-values;base64,".
Build a TSV Data URI
This example turns a longer TSV table of volcano records into a base64 Data URI. The output begins with the TSV MIME prefix "data:text/tab-separated-values;base64," and is split into 64-character lines so it can be embedded or stored without becoming one very long line.
volcano country type Eyjafjallajokull Iceland stratovolcano Villarrica Chile stratovolcano Nyiragongo Congo stratovolcano Krakatau Indonesia caldera Merapi Indonesia stratovolcano Cotopaxi Ecuador stratovolcano
data:text/tab-separated-values;base64,dm9sY2Fubwljb3VudHJ5CXR5cG UKRXlqYWZqYWxsYWpva3VsbAlJY2VsYW5kCXN0cmF0b3ZvbGNhbm8KVmlsbGFycm ljYQlDaGlsZQlzdHJhdG92b2xjYW5vCk55aXJhZ29uZ28JQ29uZ28Jc3RyYXRvdm 9sY2FubwpLcmFrYXRhdQlJbmRvbmVzaWEJY2FsZGVyYQpNZXJhcGkJSW5kb25lc2 lhCXN0cmF0b3ZvbGNhbm8KQ290b3BheGkJRWN1YWRvcglzdHJhdG92b2xjYW5v
Required options
These options will be used automatically if you select this example.
Break encoded TSV into fixed-length base64 lines.
Characters per base64 line.
Prefix output with "data:text/tab-separated-values;base64,".
Pro tips Master online tsv tools
You can pass input to this tool via ?input query argument and it will automatically compute output. Here's how to type it in your browser's address bar. Click to try!
https://onlinetsvtools.com/convert-tsv-to-base64?input=trail%09region%09season%0AAnnapurna%09Nepal%09autumn%0ALaugavegur%09Iceland%09summer%0ADrakensberg%09Lesotho%09spring%0AMilford%09Aotearoa%09winter&base64-no-split=true&data-uri=false
All tsv tools
Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
Quickly change the TSV delimiter to a different symbol.
Quickly generate random TSV data.
Quickly extract selected columns from a TSV file.
Quickly delete selected columns in a TSV file.
Quickly add quotes around TSV columns.
Quickly remove quotes that surround TSV columns.
Quickly swap columns in a TSV file.
Quickly convert a TSV file to a JSON data structure.
Quickly convert a JSON data structure to TSV format.
Quickly convert a TSV file to XML markup.
Quickly convert XML markup to a TSV file.
Quickly convert a TSV file to YAML markup.
Quickly convert YAML data to a TSV file.
Quickly convert TSV data to CSV data.
Quickly convert CSV data to TSV data.
Quickly convert TSV data to nicely aligned text columns.
Quickly convert text columns to TSV columns.
Quickly convert TSV data to base64 encoding.
Quickly convert base64-encoded TSV data to TSV data.
Quickly convert a TSV file to URL-encoding.
Quickly convert a URL-encoded TSV file back to TSV.
Quickly add one or more columns before the first TSV column.
Quickly append new columns at the end of a TSV file.
Quickly insert new columns anywhere in a TSV file.
Quickly replace selected columns in a TSV file.
Quickly remove extra spaces around TSV columns.
Quickly truncate the contents of TSV cells to any length.
Quickly exchange TSV columns with rows.
Quickly exchange TSV rows with columns.
Quickly transpose a TSV file.
Coming soon These tsv tools are on the way
Validate TSV
Quickly check a TSV file for errors and report them.
Display TSV Statistics
Print information about a TSV file.
Calculate TSV Entropy
Find the complexity of a TSV file.
Show TSV Structure
Create an abstract drawing that shows the structure of a TSV.
View and Edit TSV
Show a TSV file in a neat editor and allow easy editing.
Convert TSV to Double-TSV
Convert a TSV file to a double-TSV file.
Convert Double-TSV to TSV
Convert a double-TSV file to a regular TSV file.
Convert TSV to HTML Table
Convert a Tab Separated Values file to an HTML table.
Convert HTML Table to TSV
Convert an HTML table to a Tab Separated Values file.
Convert TSV to Markdown
Convert a TSV file to a Markdown table.
Convert Markdown to TSV
Convert a Markdown table to a TSV file.
Convert TSV to PDF
Convert a Tab Separated Values file to a PDF document.
Convert PDF to TSV
Convert a PDF document to a Tab Separated Values file.
Convert TSV to Image
Draw Tab Separated Values as a table and output it as an image.
Convert Image to TSV
Extract data in an image and format it as a TSV file.
Convert TSV to Excel
Convert a Tab Separated Values file to an Excel spreadsheet.
Convert Excel to TSV
Convert an Excel file to a Tab Separated Values file.
Convert TSV to LaTeX
Convert a TSV file to LaTeX code that generates a table.
Convert TSV to ASCII Table
Convert a Tab Separated Values file to a neat ASCII table.
Convert ASCII Table to TSV
Convert an ASCII table to a Tab Separated Values file.
Convert TSV to SQL
Convert a Tab Separated Values file to an SQL query.
Convert TSV to SQLite
Convert a Tab Separated Values file to an SQLite database.
Convert SQLite to TSV
Export tables from an SQLite database as TSV files.
Convert TSV to PSV
Convert a TSV file to a PSV (Pipe Separated Values) file.
Convert PSV to TSV
Convert a PSV (Pipe Separated Values) file to a TSV file.
Convert TSV to HSV
Convert a TSV file to a HSV (Hash Separated Values) file.
Convert HSV to TSV
Convert a HSV (Hash Separated Values) file to a TSV file.
Convert TSV to SSV
Convert a TSV file to a SSV (Semicolon Separated Values) file.
Convert SSV to TSV
Convert a SSV (Semicolon Separated Values) file to a TSV file.
Convert TSV to 0SV
Convert a TSV file to a 0SV (Null Separated Values) file.
Convert 0SV to TSV
Convert a 0SV (Null Separated Values) file to a TSV file.
Split a TSV File
Create multiple TSV files from the given TSV file.
Merge TSV Files
Merge together two Tab Separated Values files.
Delete TSV Tabs
Remove tabs that go between TSV columns and merge all data.
Delete Empty TSV Columns
Remove columns that have no values in a TSV file.
Delete Empty TSV Rows
Remove rows that have no values in a TSV file.
Delete Empty TSV Lines
Remove lines in a TSV file that are blank.
Delete TSV Comments
Delete TSV lines that are comments.
Filter TSV Data
Filter rows and columns that match a pattern.
Find Values in TSV
Find certain values in TSV cells.
Find Duplicate TSV Rows
Extract repeated rows in a TSV file.
Merge Duplicate TSV Rows
Combine duplicate rows in a TSV file.
Deduplicate TSV Rows
Remove repeated rows from a TSV file.
Delete Duplicate TSV Rows
Delete duplicate rows from a TSV file.
Compress TSV
Minify a TSV file and remove extra spaces and indentation.
Compare Two TSV Files
Diff two TSV files and visually display the differences.
Rotate TSV Columns
Rotate TSV columns to the left or right.
Rotate TSV Rows
Rotate TSV rows up or down.
Cut a TSV File
Cut a fragment from a TSV file.
Slice a TSV File
Extract a slice (rows/columns/cells) of a TSV file.
Randomize TSV Values
Shuffle all data values in a TSV file.
Randomize TSV Columns
Shuffle the order of TSV columns.
Randomize TSV Rows
Shuffle the order of TSV rows.
Sort TSV Columns
Sort values in a TSV column.
Sort TSV Rows
Sort values in a TSV rows.
Count TSV Columns
Find how many columns there are in the given TSV data.
Count TSV Rows
Find how many rows there are in the given TSV data.
Count TSV Entries
Find how many total entries there are in a TSV file.
Color a TSV File
Add colors to TSV data for easy visual overview of the file.
Add Errors to TSV
Create random errors in a TSV file for fuzz testing.
Create a Custom TSV
Generate a custom TSV with n rows and m columns.
Open a TSV File
Open a TSV file directly in your browser.