flaibo
Sign in
Data Cleaning List

Clean Messy Pasted Data With a Change Log

Turn pasted messy data into a consistent table using rules you approve, with a log of each change and a list of rows that need your decision.

No card required

What this prompt does

Cleaning data by hand is slow, and cleaning it with a quick automated pass is risky: dates get swapped, two similar names merge, a blank becomes zero, and no one can say what changed. This prompt keeps the work visible. It first lists the problems it finds with counts and examples, so you see the data's real shape, then applies only the rules you supplied, and returns the cleaned table, a log of every change with the rule behind it, and a separate list of rows that need your decision. Nothing is guessed or deleted. A closing row count confirms that no records vanished. It works best on a sample, to confirm the rules, before you apply the same steps to the full file in your own tools.

The prompt

You are helping me clean and structure messy data that I will paste below. I need consistency without losing meaning, and I need to be able to check every change.

The data: [PASTE A SAMPLE, WITH NAMES, EMAILS, PHONE NUMBERS AND ANY PERSONAL OR CONFIDENTIAL FIELDS REMOVED OR REPLACED BY INVENTED VALUES]
What each column should be: [COLUMN NAME, TYPE, ALLOWED VALUES OR FORMAT]
Rules I want applied: [E.G. DATES AS YYYY-MM-DD, CURRENCY AS NUMBER, TRIM SPACES, CAPITALIZATION, CATEGORY SPELLINGS]
Duplicates: [WHAT COUNTS AS A DUPLICATE, WHAT TO DO]
Do not change: [COLUMNS OR VALUES TO LEAVE EXACTLY AS THEY ARE]
Date format of the source: [E.G. DAY FIRST OR MONTH FIRST, IF KNOWN]

Step 1: before changing anything, list the problems you see (inconsistent formats, blanks, duplicates, mixed units, impossible values) with a count and an example for each, and list any rule I gave that is ambiguous.
Step 2: apply only my rules and output the cleaned data as a table.
Step 3: a change log: row, column, old value, new value, rule applied.
Step 4: rows needing my decision: rows where the right fix is not clear (ambiguous dates, conflicting duplicates, impossible values), with the options. Leave those unchanged in the table and mark them NEEDS DECISION.

Rules: never guess a missing value; never delete a row, flag it; do not merge records unless my duplicate rule says so; if the dates could be read two ways, ask.

Before answering, recount the rows: cleaned plus flagged must equal the rows I pasted.

How to use it

Test the rules on a small sample, check the change log against the original, and only then apply the same steps to the full data. Remove or replace names, emails, phone numbers and any confidential fields before pasting. Make decisions on the flagged rows yourself.

See it in action

Filled-in prompt

The data: Order date | Region | Amount 03/04/2026 | north | $1,200 2026-04-05 | North | 950 5 Apr 26 | NORTH | 950 USD 06/04/2026 | south | n/a What each column should be: Order date YYYY-MM-DD; Region capitalized (North, South); Amount number. Rules I want applied: trim spaces; standardise dates; remove currency symbols. Duplicates: Same date, region and amount = duplicate, flag only. Date format of the source: day first.

Expected output

Step 1: Problems - Dates in 3 formats (4 rows) - Region spelled in 3 capitalizations (3 rows) - Amount with symbols (2 rows); non-numeric 'n/a' (1 row) - Possible duplicate: rows 2 and 3 (same region and amount, same date after conversion?) Step 2: Cleaned 2026-04-03 | North | 1200 2026-04-05 | North | 950 2026-04-05 | North | 950 2026-04-06 | South | NEEDS DECISION Step 3: Log Row 1, date: 03/04/2026 to 2026-04-03 (day first) Row 3, date: 5 Apr 26 to 2026-04-05 Row 1, amount: $1,200 to 1200 Row 3, amount: 950 USD to 950 Rows 1-4, region: capitalization standardised Step 4: Needs decision Row 4: amount 'n/a'. Options: leave blank, or fill from another source. Rows 2 and 3: possible duplicate; kept both, flagged. Row count: 4 pasted, 4 returned.

Hand cleaning changes meaning without a record.

Every change goes into a log with the rule that caused it.

Automated cleaning guesses at ambiguous values.

Ambiguous rows are left unchanged and flagged for your decision.

Rows disappear without notice.

A final row count checks that cleaned plus flagged equals what you pasted.

Frequently asked questions

Should I paste the whole file?

Start with a representative sample with personal data removed. Once the rules work, apply them to the full file in your own tools.

Is it safe to paste customer data?

Avoid it. Remove or replace names, emails, phone numbers and any confidential fields with invented values before pasting.

Will it catch every error?

No. Check the change log against the original and review flagged rows yourself.

Ready to use Clean Messy Pasted Data With a Change Log?

Save your cleaning rules as a note in Flaibo, and the Prompt Builder uses them with your profile whenever you build a data prompt.

Get started free

Your context everywhere