᠎᠎᠎          
51K

TSV Tester

World's simplest tsv tool
Simple and free online TSV tester. Just paste a Tab-Separated Values table in the form below, and this tool will run checks for row structure, empty cell values, quote pairing, comments, empty rows, short rows, and extra spacing. In the options, you can set which row, cell, and spacing cases are allowed in your TSV input and which ones should appear as failed checks. Created by programmers from team Browserling.
we're on twitter! tweet tweet
Love what we do? You can follow us on Twitter for updates!
TSV Test Rules
Comments do not fail the test.
This marker identifies TSV comment rows.
Empty TSV lines do not fail the test.
TSV Test Rules
Empty TSV values do not fail the test.
Missing TSV cells do not fail the test.
Cell Edge Checks
Whitespace before cell values do not fail the test.
Whitespace after cell values do not fail the test.
Test Print Limit
Show this many failed checks at once.

What is a TSV Tester?

learn more about this tool
This online tool tests Tab Separated Values (TSV) files for row, cell, and spacing issues. You can paste a TSV table into the input area, and the program will check the tab layout, quoted cells, row lengths, comment rows, empty lines, empty values, missing cells, and spaces that appear before or after values. The test rules can be adjusted in the options. You can let comment lines pass the test by setting their prefix, allow empty lines in TSV, allow empty values in cells, and allow rows with missing records. You can also decide whether left-side spaces and right-side spaces should fail the test or be ignored. If the TSV data passes the selected checks, a green badge appears in the output area. If the data fails, the tool displays a red badge and prints a numbered test report that shows what went wrong and which row each problem occurred in. For large or broken TSV files, you can limit the number of problems printed and show only the selected number of failed checks. Tsv-abulous!

TSV Tester examples

Click to use
Run a City TSV Test
In this example, we use a small travel-style TSV table with city and country columns. The input has a clean tab-separated structure: each city is paired with one country, and every row contains the same number of cells. Since the file has no comment rows, empty lines, empty values, missing cells, spacing problems, or quote problems, it passes all enabled checks.
city country Oslo Norway Lima Peru Cairo Egypt Seoul Korea
In this example, we use a small travel-style TSV table with city and country columns. The input has a clean tab-separated structure: each city is paired with one country, and every row contains the same number of cells. Since the file has no comment rows, empty lines, empty values, missing cells, spacing problems, or quote problems, it passes all enabled checks.
Required options
These options will be used automatically if you select this example.
Comments do not fail the test.
This marker identifies TSV comment rows.
Empty TSV lines do not fail the test.
Empty TSV values do not fail the test.
Missing TSV cells do not fail the test.
Whitespace before cell values do not fail the test.
Whitespace after cell values do not fail the test.
Show this many failed checks at once.
Check TSV Table Dimensions
In this example, we test a TSV water sample table for incomplete records only. Our TSV reader expects a rectangular table where each row has the same number of values as the header row, so the row and column dimensions must remain intact. This run allows comments, empty lines, empty values, and edge spaces, but it still blocks missing cells. The report finds two incomplete-data failures and shows their exact locations: rows 3 and 5.
sample check status A1 pH pass A2 turbidity A3 chlorine pass A4 nitrate A5 hardness pass
Error 1 title: Incomplete TSV Data message: The file has missing values. row: 3 Error 2 title: Incomplete TSV Data message: The file has missing values. row: 5
Required options
These options will be used automatically if you select this example.
Comments do not fail the test.
This marker identifies TSV comment rows.
Empty TSV lines do not fail the test.
Empty TSV values do not fail the test.
Missing TSV cells do not fail the test.
Whitespace before cell values do not fail the test.
Whitespace after cell values do not fail the test.
Show this many failed checks at once.
Strictly Test a Card List TSV
In this example, we run a strict test on a TSV table of playing cards. The table should have five cells in every row: card, suit, rank, color, and deck. Every minor formatting issue is treated as a failed check, including comment rows, empty lines, empty values, missing cells, leading spaces, trailing spaces, and unfinished quotes. The result limit is disabled, so the tester prints all nine failures found across the card deck data and explains each problem clearly enough to make the TSV easy to fix.
card suit rank color deck # playing card data Ace spades A black standard King hearts K red standard Queen diamonds red standard Jack clubs J black standard Nine hearts 9 red Ten spades "10 black standard
Error 1 title: TSV Contains Comments message: The file contains comments starting with "#". row: 2 Error 2 title: TSV Contains Trailing Spaces message: The file contains trailing spaces. row: 3 Error 3 title: TSV Contains Empty Lines message: The file contains empty lines. row: 4 Error 4 title: TSV Contains Leading Spaces message: The file contains leading spaces. row: 5 Error 5 title: TSV Contains Empty Values message: The file contains empty values. row: 6 Error 6 title: TSV Contains Leading Spaces message: The file contains leading spaces. row: 7 Error 7 title: Incomplete TSV Data message: The file has missing values. row: 8 Error 8 title: Incomplete TSV Data message: The file has missing values. row: 9 Error 9 title: Missing Quote message: Quoted field is unterminated. row: 9
Required options
These options will be used automatically if you select this example.
Comments do not fail the test.
This marker identifies TSV comment rows.
Empty TSV lines do not fail the test.
Empty TSV values do not fail the test.
Missing TSV cells do not fail the test.
Whitespace before cell values do not fail the test.
Whitespace after cell values do not fail the test.
Show this many failed checks at once.
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/test-tsv?input=city%09country%0AOslo%09Norway%0ALima%09Peru%0ACairo%09Egypt%0ASeoul%09Korea&allow-comments=false&comment-char=%23&allow-empty-lines=false&allow-empty-values=false&allow-incomplete=false&allow-leading-spaces=false&allow-trailing-spaces=false&limit-errors=true&number-of-errors=10
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 remove tabs that go between TSV columns and merge all data.
Quickly add quotes around TSV columns.
Quickly remove quotes that surround TSV columns.
Quickly swap columns in a TSV file.
Quickly sort TSV data by selected column values.
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.
Quickly inspect the structure and contents of a TSV file.
Quickly check a TSV file for errors and report them.
Quickly test tab-separated data for row and field problems.
Coming soon These tsv tools are on the way
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 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 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.