Data Entry Validation Rules Builder
Check a spreadsheet against rules you define once: every broken rule is highlighted, explained and listed, and you can fix values in place with undo.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Load the sheet
Press Open CSV / Excel, paste cells, or use Load sample.
- 2Start from suggestions
Press Suggest rules to get a first rule set from the data.
- 3Tighten rules
Pick a column and set type, ranges, lengths, allowed values, pattern and Unique.
- 4Review problems
Read the red cells or tick Only rows with problems.
- 5Fix values
Tap a cell and correct it; the check reruns instantly.
- 6Export
Download the red-cell Excel file, the report CSV or the clean rows.
About this tool
Data typed by people drifts. A membership list gets two members with the same ID, a date of 13/02 written the American way, an age of 130, a plan called gold instead of Gold and a name with a space in front. Excel's own data validation only stops new mistakes in cells that already have rules, and it cannot check a CSV someone emails you. This builder checks any sheet against a set of rules per column and shows every problem at once. For each column you can require a value, set a type (text, whole number, number, date, email, web address, phone, yes or no), set a minimum and maximum value or date, a minimum and maximum length, a list of allowed values with or without case sensitivity, a simple pattern, and whether values must be unique. A Suggest rules button reads the existing data and proposes types, required flags, short value lists and unique ID columns, which you can then tighten.
Patterns without regular expressions
Codes such as member numbers, postcodes and invoice numbers usually follow a shape. Write that shape with 9 for a digit, A for a letter, X for a letter or digit, ? for any one character and * for any run of characters; every other character must match exactly, and a backslash makes the next character literal. AA-9999 accepts AB-1234 and rejects A1-1234, and INV-* accepts anything starting with INV-.
Finding and fixing
The data grid paints every cell that breaks a rule in red; hover or tap it to read the reason. Tap a cell to edit it underneath the grid, and the check reruns as you type, so the cell turns white the moment the value is valid. Edits are part of the undo history. The Only rows with problems switch hides clean rows, which turns a long sheet into a short to-do list. Row numbers match the spreadsheet, with the header as row 1, so the report can be used next to the original file.
Reports and rule sets
The problem report lists row, column, value and reason for every issue. It exports as CSV, and the Excel export writes the data with bad cells filled red, an extra Problems column, a Problems sheet and a Rules sheet describing every rule. Clean rows can be exported on their own, as can the whole sheet including your fixes. Rules are remembered in the browser for files with the same column names and can be saved as a small JSON rule set to share with colleagues.
Limits
The checks are format and consistency checks; they do not confirm that an email address exists, that a phone number is in service or that a postcode is real. Rules that compare two columns, such as an end date after a start date, are not supported. The Excel export marks problems with colours and notes but does not add Excel data validation rules to the workbook.
Worked example
A signup sheet with 8 rows is checked with member_id required, pattern A-9999 and unique; email typed as email and unique; joined as a date from 2026-01-01; age a whole number from 16 to 110; and plan in the list Gold, Silver, Bronze with case sensitivity. The tool finds 10 problems in 6 of the 8 rows: a duplicate M-1003, M1006 missing its dash, ben@example without a domain ending, 2026-13-02 as an impossible date, ages 130 and x, the plans gold and Platinum, a leading space in one name and an empty full_name.
Quick facts
- Category: Business & Work
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: ISO 8000-8 data quality concepts and RFC 4180 CSV
Frequently asked questions
Can I check an Excel file or only CSV?
Both. CSV, TSV, JSON and XLSX files load directly, and you can also paste cells copied from a spreadsheet.
How do I say a value must come from a list?
Type the allowed values in Allowed values separated by commas or new lines, and tick case sensitive if Gold and gold must differ.
What counts as a duplicate?
For a column marked Unique, two cells with the same text ignoring case and outer spaces. The report names the earlier row.
Can I reuse my rules next month?
Yes. They are remembered for files with the same headers, and Save rule set writes a JSON file you can load later or send to someone.
Does fixing a value here change my original file?
No. Export All rows (with fixes) or the red-cell Excel file to get a corrected copy.
Is the data uploaded?
No. Checking and fixing happen in the browser.
