Our Network


Coming Soon


Coming Later

Incomplete CSV Fixer

World's Simplest CSV Tool

Free online incomplete CSV fixer. Just upload your CSV file in the form below and all incomplete CSV records will be automatically filled with default values. In the tool options, you can adjust the delimiter and quotation marks to match those of the input CSV file, and specify the default fill value and the fill direction (left or right) in incomplete records. Additionally, you can activate a mode that fills empty fields (these fields aren't missing but they contain just whitespace) and delete or ignore empty lines and comments, or process them as regular values. Created by programmers from team Browserling.

᠎᠎᠎          Tool Options

Input CSV Format

Delimiter symbol that separates
values in your CSV. Comma (,)
by default.
Quote symbol that surrounds
values in your CSV. Double
quotes (") by default.

Fill Missing Data

Replace the missing values
with this string.
Add new values at the
beginning of the incomplete
record.
Add new values at the end
of the incomplete record.

Fill Empty Data

If a CSV value is empty (it's
a space or zero length), then
replace it with the value below.
Use this string in place of
empty values.

Empty Lines and Comments

How to handle comments?
Comment symbol that marks
the beginning of a comment in
your CSV. Hash (#) by default.
How to handle empty lines?

What Is an Incomplete CSV Fixer?

This tool finds incomplete records in CSV (Comma Separated Values) files and fills them with custom values. To do it, it checks the length of all columns and rows, and if any of the columns are rows are shorter or longer, that means some values are missing. In this case, it fills them with the value specified in the options. This tool can also handle different CSV formats. For this purpose, it has options to specify the field delimiter (usually a comma) and the character that denotes field quoting (usually double quotes). The custom values can be a single character (e.g., "x"), a combination of characters (e.g., "-~-"), or a string (e.g., "missing"). The new value can be added at the end or the beginning of the incomplete row, and you can choose the desired fill side in the options. In addition to filling in incomplete data, the program can also fill empty fields. The empty fields appear as two or more consecutive delimiters without any visible characters between them, or they contain just the space characters. You can fill these fields by activating the "Fill Empty Values" checkbox in the options and specifying the desired fill character or string. Also, you can choose how to handle empty lines and comments in CSV files. To identify a comment in the file, you need to specify the character that marks the beginning of the comment line. Usually, it's the symbol "#" or "//". Then you can choose one of the options: delete comments entirely (do not output them to the output file), ignore comments (print them in the output file on the same line and format), or treat comments as values (consider the comment line as a regular line of the CSV and fill its incomplete records). Similarly, you can choose the same options for working with empty lines in the file. If you want to quickly see all the places that are missing values or have empty data, you can use our Find Incomplete CSV Records tool. Csv-abulous!


Incomplete CSV Fixer Examples

Click to try!

Fill Missing Prices in CSV

In this example, we load a CSV file containing product information, including ID, product name, customer, and amount. Unfortunately, the intern who created this file forgot to fill in price values in some of the records. By using this tool, we fill in the missing prices. In the options, we find the fill string field and enter "$0.00" in it. Additionally, we select the option to add this new value on the right side of incomplete lines. As a result, we obtain a valid CSV that ensures proper data import in data analysis software and spreadsheet programs.

ID,Product,Customer,Amount 123,Shirt,Alice 567,Hat,Bob,$5.50 749,Belt,Liam 901,Scarf,Mia,$7.25
ID,Product,Customer,Amount 123,Shirt,Alice,$0.00 567,Hat,Bob,$5.50 749,Belt,Liam,$0.00 901,Scarf,Mia,$7.25
Required options
These options will be used automatically if you select this example.
Delimiter symbol that separates
values in your CSV. Comma (,)
by default.
Quote symbol that surrounds
values in your CSV. Double
quotes (") by default.
Replace the missing values
with this string.
Add new values at the end
of the incomplete record.
If a CSV value is empty (it's
a space or zero length), then
replace it with the value below.
Use this string in place of
empty values.
How to handle comments?
Comment symbol that marks
the beginning of a comment in
your CSV. Hash (#) by default.
How to handle empty lines?

Fix Habit Tracker CSV

In this example, we complete the records of a CSV file that we exported from a habit tracker app. The file consists of the habit column and three more columns for the three days that indicate whether a healthy habit was completed or not on that day. If a habit was not done on that day, the habit tracker app left the field empty. To make these empty fields nicer, we activate the "Fill Empty Data" option and input the symbol "✗" as the new value for the field. As a result, we get a fully filled CSV file where completed tasks are marked with a checkmark symbol "✓" and incomplete tasks are marked with an x symbol "✗".

Habit,Mon,Tue,Wed Exercise,✓,✓,✓ Meditation,,✓,✓ Healthy Eating,,,✓ Reading,✓,, Flossing,,,✓
Habit,Mon,Tue,Wed Exercise,✓,✓,✓ Meditation,✗,✓,✓ Healthy Eating,✗,✗,✓ Reading,✓,✗,✗ Flossing,✗,✗,✓
Required options
These options will be used automatically if you select this example.
Delimiter symbol that separates
values in your CSV. Comma (,)
by default.
Quote symbol that surrounds
values in your CSV. Double
quotes (") by default.
Replace the missing values
with this string.
Add new values at the end
of the incomplete record.
If a CSV value is empty (it's
a space or zero length), then
replace it with the value below.
Use this string in place of
empty values.
How to handle comments?
Comment symbol that marks
the beginning of a comment in
your CSV. Hash (#) by default.
How to handle empty lines?

Fill and Tidy Up a CSV File

In this example, we fill and tidy up a CSV file for travel expense management software. We simultaneously fill the file with missing values, adding the string "***" at the beginning of incomplete lines, and also fill the empty fields (of length zero or containing just spaces) by replacing them with the string "[?]". As the input CSV file uses a semicolon as a delimiter, we set it in the input CSV options, and specify the comment symbol as the (hash "#" symbol. Finally, to obtain a really neat and compact CSV output, we remove all comments and empty lines.

Category;Amount (USD) Flight;500 Accommodation;200 Food;100 150 #Activities Souvenirs; ;
Category,Amount (USD) Flight,500 Accommodation,200 Food,100 ***,150 Souvenirs,[?] [?],[?]
Required options
These options will be used automatically if you select this example.
Delimiter symbol that separates
values in your CSV. Comma (,)
by default.
Quote symbol that surrounds
values in your CSV. Double
quotes (") by default.
Replace the missing values
with this string.
Add new values at the
beginning of the incomplete
record.
If a CSV value is empty (it's
a space or zero length), then
replace it with the value below.
Use this string in place of
empty values.
How to handle comments?
Comment symbol that marks
the beginning of a comment in
your CSV. Hash (#) by default.
How to handle empty lines?

Pro tips Master online csv 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://onlinetools.com/csv/fill-incomplete-csv-records?input=ID%2CProduct%2CCustomer%2CAmount%0A123%2CShirt%2CAlice%0A567%2CHat%2CBob%2C%245.50%0A749%2CBelt%2CLiam%0A901%2CScarf%2CMia%2C%247.25&input-delimiter=%252C&input-quote-char=%2522&missing-character=%25240.00&fill-on-right=true&fill-empty-records=false&empty-character=yyy&handle-empty-lines=ignore-empty-lines&handle-comments=ignore-comments&comment-char=%2523

All CSV Tools

Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
Quickly convert a CSV file to a JSON data structure.
Quickly convert a JSON data structure to a CSV file.
Quickly convert a CSV file to an XML file.
Quickly convert an XML file to a CSV file.
Quickly convert a CSV file to a YAML file.
Quickly convert a YAML file to a CSV file.
Quickly convert a CSV file to a TSV file.
Quickly convert a TSV file to a CSV file.
Quickly convert a CSV file to evenly aligned text columns.
Quickly convert text columns to a CSV file.
Quickly encode CSV to base64.
Quickly decode base64 to CSV.
Quickly convert CSV to URL-encoding.
Quickly decode CSV from URL-encoding.
Quickly change the CSV column delimiter to a new symbol.
Quickly prepend columns at the beginning of a CSV file.
Quickly append one or more new columns at the end of a CSV file.
Quickly insert one or more new columns anywhere in a CSV file.
Quickly export one or more columns from a CSV file.
Quickly replace any column in a CSV file with a new one.
Quickly delete one or more columns from a CSV file.
Quickly swap two columns in a CSV file.
Quickly exchange columns with rows in a CSV file.
Quickly exchange rows with columns in a CSV file.
Quickly transpose a CSV file.
Quickly truncate columns in a CSV file.
Quickly left-trim and right-trim column values in a CSV file.
Quickly sort data in one or more CSV columns.
Quickly remove double quotes from all CSV fields.
Quickly wrap all CSV fields in double quotes.
Quickly change the character that CSV fields are wrapped in.
Quickly make sure the given CSV file doesn't have errors.
Quickly find rows and columns in CSV that are missing values.
Quickly fill missing CSV values with placeholder values.

Coming Soon

These CSV tools are on the way!
Edit CSV in the Browser

Edit the contents of a CSV file in a neat editor.

Deduplicate CSV Data

Remove duplicate rows in a CSV file.

Print CSV Statistics

Display detailed information about a CSV file.

Convert CSV to HTML

Convert a CSV file to an HTML table.

Convert HTML to CSV

Convert an HTML table to a CSV file.

Convert CSV to Markdown

Convert a CSV file to a Markdown table.

Convert Markdown to CSV

Convert a Markdown table to a CSV file.

Convert CSV to ASCII Table

Draw an ASCII table from CSV data.

Convert CSV to ANSI Table

Draw an ANSI table from CSV data.

Convert CSV to Unicode Table

Draw a Unicode table from CSV data.

Convert CSV to PDF

Convert CSV to a PDF document.

Convert PDF to CSV

Extract data from a PDF and create a CSV file.

Convert CSV to a Screenshot

Create a screenshot of CSV data.

Convert CSV to an Image

Draw a CSV file as a PNG, JPG or GIF picture.

Convert Image to CSV

Extract data from an image and create a CSV file.

Convert CSV to Excel

Convert a CSV file to an Excel spreadsheet.

Convert Excel to CSV

Convert an Excel spreadsheet to a CSV file.

Convert CSV to vCard

Convert a CSV file to a vCard file.

Convert vCard to CSV

Convert a vCard file to a CSV file.

Convert CSV to LaTeX

Convert CSV to a LaTeX table.

Convert CSV to SQL

Generate SQL insert queries from a CSV file.

Convert SQL to CSV

Create a CSV file from SQL query results.

Convert CSV to qCSV

Convert a CSV file to a qCSV (quoted CSV) file.

Convert qCSV to CSV

Convert a qCSV (quoted CSV) file to a CSV file.

Convert CSV to INI

Convert a CSV file to an INI file.

Convert INI to CSV

Convert an INI file to a CSV file.

Convert CSV to JSONL

Convert a CSV file to a JSONL (JSON Lines) file.

Convert JSONL to CSV

Convert a JSONL (JSON Lines) file to a CSV file.

Convert CSV to TXT

Convert a CSV file to a plain text file.

Convert TXT to CSV

Convert a plain text file to a CSV file.

Convert CSV to 0SV

Convert a CSV file to a null-separated values file (0SV).

Convert 0SV to CSV

Convert a null-separated values file (0SV) to a CSV file.

Convert CSV to SSV

Convert a CSV file to a semicolon-separated file (SSV).

Convert SSV to CSV

Convert a semicolon-separated file (SSV) to a CSV file.

Convert CSV to HSV

Convert a CSV file to a hash-separated file (HSV).

Convert HSV to CSV

Convert a hash-separated file (HSV) to a CSV file.

Convert CSV to PSV

Convert a CSV file to a pipe-separated file (PSV).

Convert PSV to CSV

Convert a pipe-separated file (PSV) to a CSV file.

Convert CSV to SQLite

Create an SQLite database from the given CSV file.

Convert SQLite to CSV

Export tables from an SQLite database as CSV files.

Convert CSV to GeoJSON

Convert a CSV file to a GeoJSON file.

Convert GeoJSON to CSV

Convert a GeoJSON file to a CSV file.

Merge CSV Files

Merge together two or more CSV files.

Compare Two CSV Files

Visually show the differences between two CSV files.

Diff Two CSV Files

Run the diff algorithm on two CSV files.

Find Data in CSV

Find CSV cells that contain certain data.

Filter CSV Cells

Return data in a CSV file that matches a pattern.

Slice CSV

Extract a slice from a CSV file.

Cut CSV

Cut a fragment from a CSV file.

Rotate CSV Columns

Move CSV columns to the left or right.

Rotate CSV Rows

Move CSV data rows up or down.

Sort CSV Rows

Sort the data in one or more CSV rows.

Shuffle CSV Columns

Randomly change the positions of CSV columns.

Shuffle CSV Rows

Randomly change the order of CSV rows.

Shuffle CSV Values

Randomly change the order of all CSV values.

Rename CSV Columns

Change the name of CSV columns.

Create a Random CSV

Generate a random CSV of any size.

Create an Empty CSV File

Generate a CSV file that contains nothing.

Create a Large CSV File

Generate a large CSV file for testing.

Create a Custom CSV File

Generate a custom CSV file with m rows and n columns.

Delete Empty CSV Columns

Remove CSV columns that are completely empty.

Delete Empty CSV Rows

Remove CSV rows that are completely empty.

Delete Empty CSV Values

Remove all fields in a CSV file that are empty.

Delete Empty CSV Lines

Remove all empty lines in a CSV file.

Remove CSV Separator

Delete the comma separator from CSV files.

Remove Extra CSV Commas

Delete extra commas around CSV values.

Delete CSV Comments

Delete comments (lines starting with # or //) from CSV files.

Delete CSV Header

Delete the column header from a CSV file.

Delete First CSV Line

Delete the first line from a CSV file.

Compress a CSV File

Minify a CSV file and remove unnecessary whitespaces.

Optimize CSV File Size

Reduce the file size of a CSV file.

Change CSV Encoding

Change the character encoding of a CSV file to UTF8 or ISO-8859-1.

Add Extra Spaces in CSV

Add extra spaces between CSV columns.

Convert CSV to a Matrix

Convert a CSV file to an m-by-n matrix.

Convert CSV to an Array of Arrays

Convert a CSV file to an array of arrays of fields.

Convert an Array of Arrays to CSV

Convert an array of arrays of fields to a CSV file.

Convert CSV Columns to a List

Create a list from one or more CSV columns.

Convert CSV Rows to a List

Create a list from one or more CSV rows.

Convert CSV Columns to an Array

Create an array from one or more CSV columns.

Convert CSV Rows to an Array

Create an array from one or more CSV rows.

Find CSV Dimensions

Find the number of rows and columns of a CSV file.

Count CSV Columns

Find the number of columns in a CSV file.

Count CSV Rows

Find the number of rows in a CSV file.

Sum CSV Columns

Find the sum of CSV columns.

Sum CSV Rows

Find the sum of CSV rows.

Average CSV Columns

Find the average value of CSV columns.

Average CSV Rows

Find the average value of CSV rows.

Add Color to CSV

Use different colors for CSV data, quotes, and commas.

Animate a CSV File

Animate CSV data by showing column after column.

Fix a Broken CSV

Automatically fix a broken CSV.

Add Errors to CSV

Introduce random errors to a CSV file for fuzz testing.

Anonymize CSV Data

Hide personal or sensitive information in a CSV file.

Censor CSV Data

Mask data in a CSV file.

Hide a Message in a CSV

Hide a secret message in a CSV.

Encrypt CSV

Encrypt a CSV file and hide information in it.

Decrypt CSV

Decrypt a previously encrypted CSV file and make it readable.

Visualize CSV

Create a visual drawing that shows the CSV structure.

Create a CSV File

Create a new CSV file in the browser.

Unleash Zalgo on CSV

Distort a CSV file by infusing it with Zalgo characters.

Purge Zalgo from CSV

Neutralize the chaotic Zalgo and restore CSV integrity.

CSV Viewer

Preview the contents of a CSV file in an interactive editor.


Subscribe!

Subscribe to our updates. We'll let you know when we release new tools, features, and organize online workshops.

Enter your email here


Feedback. We'd love to hear from you! 👋



Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!