Standardize boolean flags into uniform True/False, Yes/No, or 1/0
Normalize inconsistent boolean flags across your dataset into standard True/False, Yes/No, or 1/0 formats.
Interactive Sample Data
| user_id | full_name | email_opt_in | sms_opt_in | active_flag |
|---|---|---|---|---|
| USR-01 | Grace Mutua | Y | 1 | true |
| USR-02 | Peter Otieno | no | 0 | False |
| USR-03 | Alice Chebet | Yes | true | Y |
| USR-04 | David Mwangi | N | false | 0 |
How this tool works
Things that usually go wrong
- Ambiguous Values (Maybe, N/A): Values that are neither truthy nor falsy are flagged or left as empty nulls rather than guessed.
- Case Sensitivity Differences: "yes", "YES", and "Yes" must all be recognized. DataFix performs case-insensitive matching.
- Treating Blank Cells as False: Empty cells might mean "unknown" rather than "no". You can choose whether blank cells become False or remain empty.
Edge cases we tested
Safely handled without schema corruption.
Sanitized prior to processing.
Streamed via client-side Web Worker without tab freezing.
Frequently Asked Questions
Which values are recognized as "True"?
Y, Yes, True, 1, On, Checked, and T (case-insensitive) are mapped to True.
Which values are recognized as "False"?
N, No, False, 0, Off, Unchecked, and F (case-insensitive) are mapped to False.
Can I output binary 1 and 0 for SQL databases?
Yes! Select the "Binary 1 / 0" chip to format flags for SQL bit/tinyint columns.
Is my data private?
Completely. All data processing occurs locally within your browser sandbox via Web Workers.
Related tools
Change Text Case
Transform column text into UPPERCASE, lowercase, Title Case, Sentence case, or camelCase across your spreadsheet.
Open Tool →Trim Whitespace
Clean up accidental leading, trailing, and duplicate spaces across all columns in your spreadsheet.
Open Tool →Remove Duplicate Rows
Eliminate duplicate rows across your entire dataset or based on specific unique key columns.
Open Tool →