Share a CSV sample without the customer rows

AI-assisted article. Reviewed by Codebuff automated editorial review on 2026-11-13. Examples are illustrative, not real user data.
A CSV is the easiest format to paste and the easiest to under-redact. The columns that obviously identify someone come out first, and the row is still unique: a postcode, a date of birth and an order total are enough to single out one person in a small dataset. What the reader of your question needs is the shape of the file, the quoting rules and a few representative values, none of which require real rows.
Can one row identify a person after the names are gone?
Combinations re-identify far more effectively than single fields. An email address is obvious; a timestamp to the second, a city and a product id are not, and together they usually point at one order. Free-text columns are worse, because a support note often contains the customer name even when the name column was removed.
Treat every column as identifying unless you can explain why it is not. The columns you keep should be the ones the question depends on, and the values in them can almost always be fabricated without changing the answer.
Replace values, keep the syntax
Delimiter handling is the part that breaks when people hand-edit a sample. A value containing a comma is quoted, a value containing a quote is double-quoted twice, and a value containing a newline spans lines. Replacing a quoted field with a bare token silently changes the file from a valid example into something a parser rejects, and the reader spends their time on that instead of your bug.
Keep the column order and the header exactly as they are. If the question is about a parser, include a row that exercises the awkward case: an empty field, a quoted comma, a value with a trailing space.
# Real rows: names, emails and order ids
id,email,city,ordered_at,note
8841,ana.p@example.com,Lyon,2026-11-02T09:14:07Z,"asked about invoice, then left"
8842,t.okafor@example.com,Lyon,2026-11-02T09:15:41Z,callback requested
# Sample: same columns, same quoting, fabricated values
id,email,city,ordered_at,note
1001,user1@example.invalid,City A,2026-01-01T00:00:00Z,"asked about invoice, then left"
1002,user2@example.invalid,City A,2026-01-01T00:01:00Z,"note, with a comma"
Say how many rows and columns the real file has
A three-row sample cannot show a problem that only appears at ten thousand rows. If the file has a header and 84,000 data rows, say so, along with the encoding and whether the file starts with a byte-order mark. Those facts are what a reader needs to judge whether your sample is representative.
Mention the tool that produced the export if it is not obvious. A spreadsheet export and a database dump disagree about quoting, line endings and how an empty value is written, and that difference is frequently the bug being reported.
Check what you removed before you send it
Reread the sample as if you were a stranger. Are there still unique values, long free-text columns or timestamps fine-grained enough to match a single record? Is any column a phone number, an address fragment or an account reference that resembles an order id?
If the question genuinely needs the real rows, do not paste them into a public field. Use an encrypted paste with the key sent separately, and prefer a link that expires, so the exposure has an end even if the recipient forwards it.
Sources and editorial review
Prepared with AI assistance and checked against the plain-text and encrypted-paste pages at the reviewed revision: re-identification by combination, CSV quoting rules, representativeness notes and the removal checklist. All example addresses use the reserved .invalid domain and the sample rows are fabricated.