Skip to main content
L
Loopaloo
Buy Us a Coffee
All ToolsImage ProcessingAudio ProcessingVideo ProcessingDocument & TextPDF ToolsCSV & Data AnalysisConverters & EncodersWeb ToolsMath & ScienceGames
Guides & BlogAboutContact
Buy Us a Coffee
L
Loopaloo

Free online tools for developers, designers, and content creators. Your files are processed in your browser and are never uploaded - no accounts required. A few network utilities (like What's My IP and Currency Converter) call public APIs to do their job and say so on their pages.

support@loopaloo.com

Tool Categories

  • Image Tools
  • Audio Tools
  • Video Tools
  • Document & Text
  • PDF Tools
  • CSV & Data
  • Converters
  • Web Tools
  • Math & Science
  • Games

Company

  • About Us
  • Contact
  • Blog
  • FAQ

Legal

  • Privacy Policy
  • Terms of Service
  • Disclaimer

Support

Buy Us a Coffee

© 2026 Loopaloo. All rights reserved. Built with privacy in mind.

Privacy|Terms|Disclaimer
  1. Home
  2. CSV & Data Analysis
  3. CSV Data Transformer
Add to favorites

CSV Data Transformer

Clean up CSV columns with a chain of 34 steps: trim, change case, extract digits, reformat dates and numbers, mask values and more, with a live before and after preview.

Rows never leave your deviceMore csv & data analysisJump to full guide

Initializing in your browser…

You might also like

CSV to JSON Converter

Convert CSV to JSON or JSON back to CSV, keeping zip codes, IDs and quoted text exactly as written and listing anything the conversion changes.

Image Format Converter

Convert images between PNG, JPEG, WebP, GIF and BMP (and AVIF where your browser supports it), one at a time or in a batch, and compare how big each format makes your picture.

Audio Format Converter

Convert audio between MP3, M4A, WAV, FLAC, OGG and AAC in your browser, with a choice of quality, sample rate, channels and bit depth.

A sample run

An HR export typed by several people: names with stray spaces and shouting capitals, emails in mixed case, phone numbers written four ways, dates in two formats and salaries as bare numbers.

staff.csv

Name,Email,Phone,Salary,Join Date,Status
"  JOHN DOE  ",john.doe@example.com,(555) 123-4567,75000.5,2023-01-15,ACTIVE
jane smith,JANE@EXAMPLE.COM,555.234.5678,82000,01/20/2023,active
"  Bob Johnson",bob@example.com,555 345 6789,95000.75,2023-03-10,INACTIVE
"Alice Brown  ",alice@example.com,5554567890,78000.25,09/01/2023,Active
carlos  ruiz,Carlos.Ruiz@Example.com,+1 555 678 1200,68500,2024-02-29,on leave
What CSV Data Transformer produces

After 8 steps (24 cells changed, 0 problems)

Name,Email,Phone,Salary,Join Date,Status
John Doe,john.doe@example.com,5551234567,"$75,000.50",2023-01-15,Active
Jane Smith,jane@example.com,5552345678,"$82,000.00",2023-01-20,Active
Bob Johnson,bob@example.com,5553456789,"$95,000.75",2023-03-10,Inactive
Alice Brown,alice@example.com,5554567890,"$78,000.25",2023-09-01,Active
Carlos Ruiz,carlos.ruiz@example.com,15556781200,"$68,500.00",2024-02-29,On leave

The steps are the sample's seven (Trim, Collapse spaces and Title Case on Name; Lower case on Email; Digits only on Phone; Reformat a date to YYYY-MM-DD, reading 01/20/2023 month first; Sentence case on Status) plus Format as currency on Salary. Collapse spaces turns "carlos ruiz" into "carlos ruiz" before Title Case sees it. 2024-02-29 is kept because 2024 is a leap year. The formatted salaries contain commas, so the download quotes them, which is why they appear in quotes here.

Clean and Reformat CSV Columns in a Few Steps

Build a short recipe of steps, each applied to one column, to tidy data that several people typed by hand: trim stray spaces, fix capitals, strip phone numbers to digits, put dates into one format, or format amounts as currency. The preview updates with every change and shows exactly which cells changed, and anything a step could not do is listed instead of being passed through silently.

How to use

  1. 1Drop a CSV file on the page, choose one, paste rows, or press Try a sample to load a messy staff list with seven clean-up steps already set.
  2. 2Press Add a step and pick an operation; it is added for the same column as the previous step.
  3. 3Choose the column for each step and fill in any settings it shows, such as a date format or a currency symbol.
  4. 4Reorder steps with the arrows, or switch one off to compare the preview with and without it.
  5. 5Check the preview and the list of cells that could not be changed, if any.
  6. 6Press Download transformed CSV.

Key features

  • 34 operations for text, extraction, dates, numbers and formatting
  • Steps chained in order, each on its own column, with on/off switches and reordering
  • Live preview with changed cells highlighted and a Before view
  • Cells a step cannot handle listed by row instead of passed through unchanged
  • Dates validated against the calendar and reformatted without time zone shifts
  • Day-first or month-first reading chosen for ambiguous dates
  • Emoji and accented letters counted as one character in substring, pad, reverse and mask
  • Currency, number and percentage formatting with your own separators
  • Steps kept when you load another file, for repeat clean-ups
  • Download in the file's own delimiter, with a UTF-8 byte order mark, processed entirely in the browser

How it works

Steps that run in order. Each step does one thing to one column, and steps run from top to bottom, each working on what the one before it left. That makes it easy to combine simple operations: trim the Name column, collapse double spaces, then put it in Title Case. Steps can be switched off without deleting them, reordered with the arrows, or removed. Because the steps stay in place when you load another file, the same clean-up can be run on next month's export in one go.

34 operations in five groups. Text: upper, lower, title and sentence case, trimming at either or both ends, collapsing or removing spaces, literal find and replace, prefixes and suffixes, substrings, splitting on a delimiter and keeping one part, joining with another column, padding, reversing and removing repeated words. Extract: digits only, letters only, the number in a value, and the domain or local part of an email address. Dates: reformat a date into a pattern such as YYYY-MM-DD or DD MMM YYYY. Numbers: format with chosen separators and decimals, round, absolute value and percentages. Format: currency, URL slugs, masking all but the first and last characters, Unicode normalisation, and blanking out markers such as N/A.

Careful with real-world values. Character counts for substrings, padding, reversing and masking treat an emoji or an accented letter as one character, so nothing is split in half. Title Case recognises words in any script. Dates are checked against the calendar, so 2025-02-29 is reported instead of being rolled over to 1 March, and no time zone is involved, so a date never moves by a day. For dates such as 03/04/2024 you choose whether the day or the month comes first. Rounding sends halves away from zero, as spreadsheets do.

Nothing fails quietly. When a step cannot do its job, for example Number only on a cell reading "call us", or a date that does not exist, the cell is left as it was and the problem is listed with its row, so you can fix the source rather than discover the gap later. Rows too short to have the target column are counted too.

Preview and download. The preview shows the first 20 rows with changed cells highlighted, and the Before tab shows the original. The download contains every row, written in the file's own delimiter with standard quoting and a UTF-8 byte order mark so Excel opens it correctly. The header row is left alone unless you ask for it to be transformed. All processing happens in your browser.

Where this fits a data pipeline

  • Tidying a contact list

    Trim and title-case names, lower-case email addresses and reduce phone numbers to digits before importing into a CRM.

  • Standardising dates

    Convert a column mixing 2023-01-15 and 01/20/2023 into one ISO format that databases and spreadsheets read the same way.

  • Preparing data to share

    Mask account numbers or emails so only the first and last characters show, before sending a file to a third party.

  • Making web-friendly values

    Turn product names into URL slugs, or extract the domain from each email address to group customers by company.

Tips & best practices

  • Switch a step off with its toggle to see its effect in the preview without losing its settings.
  • Use the Before tab to compare a changed cell with the original.
  • Trim and Collapse spaces first; many other steps give cleaner results on tidy input.
  • If a step lists problem cells, fix those rows at the source, or add a Blank out a marker step for placeholders such as N/A.

Examples

  • Phone numbers

    Digits only turns (555) 123-4567, 555.234.5678 and +1 555 678 1200 into 5551234567, 5552345678 and 15556781200. The country code stays, so check numbers with one.

  • Currency

    Format as currency with $ and 2 decimals turns 75000.5 into $75,000.50 and 68500 into $68,500.00. The symbol is only a label; no exchange rate is applied.

  • Masking

    Masking a card number such as 4111111111111111 keeps the first and last few characters and replaces the rest, and a value too short to hide anything is masked completely.

Frequently asked questions

Does the order of the steps matter?

Yes. Steps run from top to bottom and each one works on the result of the previous one. Trimming before Title Case, for example, means the first word is capitalised correctly even if the cell started with spaces.

What happens when a step cannot change a cell?

The cell is left as it was and listed under the steps with its row and the reason, such as a value that is not a number or a date that does not exist. Nothing is silently replaced or blanked.

How are dates like 03/04/2024 handled?

The Reformat a date step asks whether such dates are month first (US) or day first. ISO dates like 2024-03-04 are never ambiguous. Every date is checked against the calendar, so an impossible one is reported.

Will it change my header row?

Not unless you switch on Transform the header row under More options. By default only the data rows change.

Can I reuse the same steps on another file?

Yes. Load the next file with Change and the steps stay in place, so the same clean-up runs on the new data immediately.

Why does Title Case leave some words as they are?

It capitalises the first letter of every word and lower-cases the rest, which suits names and titles. Words that need special capitals, such as McDonald or iPhone, will need a find and replace afterwards.

Is my file uploaded?

No. All the steps run in your browser and the download is created on your device.

Related tools and how they differ

  • CSV Search & Replace: Use it when the change is about specific text or a pattern, such as one domain or one misspelling, rather than a whole column.
  • CSV Data Validator: Use it after cleaning to check that every value now meets your rules, such as a valid email or a date in range.
  • CSV Column Renamer: Use it to tidy the header names themselves; the transformer leaves the header row alone by default.

Private by design

Rows and columns are parsed and transformed in memory in your browser. No record ever reaches a server.