Clean Up Spreadsheet Exports

Fix inconsistent quoting and formatting in CSV/TSV files exported from Excel, Google Sheets, or LibreOffice Calc.

Common Formats

Detailed Explanation

Cleaning Up Spreadsheet Exports

Spreadsheet applications often produce CSV or TSV files with inconsistent formatting. Excel might quote all fields even when unnecessary, Google Sheets might handle special characters differently, and LibreOffice Calc has its own conventions. This tool normalizes the output.

Common Issues in Spreadsheet Exports

  1. Over-quoting: Excel wraps all fields in quotes, even simple values like numbers
  2. Inconsistent line endings: Windows uses \r\n, macOS uses \n, old Mac uses \r
  3. BOM characters: UTF-8 files from Excel may start with a byte order mark
  4. Trailing delimiters: Some tools add an extra comma/tab at the end of each row
  5. Inconsistent encoding: Mixed UTF-8 and Latin-1 characters

Example: Over-Quoted Excel Export

"Name","Age","City","Active"
"Alice","30","New York","TRUE"
"Bob","25","San Francisco","FALSE"

Cleaned CSV Output

Name,Age,City,Active
Alice,30,New York,TRUE
Bob,25,San Francisco,FALSE

How the Converter Cleans Data

The converter produces clean, minimal output by:

  • Smart quoting: Only quoting fields that actually need it
  • Consistent line endings: Using \n for all line endings
  • Preserving values: Not modifying field content, only formatting

Converting Between Formats

A common cleanup workflow is:

  1. Export from Excel as TSV (which often has fewer quoting issues)
  2. Convert to CSV using this tool (producing clean, minimal quoting)
  3. Import the cleaned CSV into your target application

Preview Verification

Use the data preview table to verify that your data has been parsed correctly before downloading. Check that column counts match, values are in the right columns, and no data has been misaligned.

Use Case

Cleaning up messy CSV or TSV exports from Excel, Google Sheets, or LibreOffice before importing into databases, APIs, or other data processing tools that require clean, standards-compliant formatting.

Try It — TSV \u2194 CSV Converter

Open full tool