WordGPT

Clean a messy spreadsheet: dates, names and duplicates fixed, every change listed

For contact lists, exports and sheets filled in by several people. Attach the file and say what should be consistent; you get the clean file and a log of what changed.

Attach your file in the chat. Your first analysis is free.

customers-messy.csv

Trim names, make dates and cities consistent, remove duplicate rows, list what changed

Python
for fmt in ['%d %b %Y', '%Y-%m-%d', '%d/%m/%Y']:
    ...  # every date becomes YYYY-MM-DD
name = re.sub(r'\s+', ' ', name).strip().title()
dup_mask = cl.duplicated(subset=key, keep='first')
cl.to_excel(OUT_DIR + '/customers-clean.xlsx', index=False)
pd.DataFrame(changes).to_csv(OUT_DIR + '/customers-changes.csv')

Output

rows read: 24
duplicates removed: 0
changes logged: 81
customers-clean.xlsx customers-changes.csv
RowColumnBeforeAfterWhy
2signup_date2 Mar 20262026-03-02converted to YYYY-MM-DD
3nameJOHN SMITHJohn Smithtrimmed/standardised case
4signup_date15/03/20262026-03-15converted to YYYY-MM-DD
5citylisbonLisbonstandardised city name
Part of the change list: what was there, what it became and why.

A real run on made-up data. See what came out:

Try one of these

  • Remove duplicates

    Find repeated rows, also when spacing or capitals differ.

    Use this
  • Merge two files

    Join exports on an email or ID column.

    Use this
  • Split a column

    Full name into first and last name, or an address into parts.

    Use this

What you get

  • Nothing changes silently

    Ask for a change list and each edit is shown with its row.

  • Doubts are flagged

    In the example, repeated emails with different details were kept and marked to check.

  • Your original stays

    The result is a new file; the one you attached is not touched.

Questions

How big can the file be?

Up to 8 MB of attached files per run, and result files up to 2 MB each.

Is it free?

Your first analysis is free. After that, each run uses credits, which come with any paid plan or can be added from $5.

What happens to my file?

The code runs in an isolated sandbox with no internet access, and its temporary working files are removed after a short time. The files stay in your own account.

More files you can make

See plans and credits

    Clean Excel data with AI: fix dates, names and duplicates, with a change log