Decide between CSV and JSON before exporting
The export format should match what the receiving system will actually read. CSV is the right choice for spreadsheet imports, partner handoffs, fixture files, and quick tracker loads. JSON is the right choice when the destination is an API, a config sample, a webhook payload, or a developer note. Trying to bend one into the other is usually how columns get merged, dates lose shape, or numbers get quoted in ways the receiver does not expect.
- Choose CSV for spreadsheet paste, partner handoffs, and one-row-per-record imports.
- Choose JSON for API samples, config snippets, fixtures, and developer-facing notes.
- Stop and check the receiver if the destination is unclear instead of guessing the file extension.
Narrow the spreadsheet to the columns that should leave the workbook
Working spreadsheets almost always contain helper columns, working notes, ticket IDs, or formulas that do not belong in a handoff. Pulling only the fields that the receiver needs keeps the export small, makes headers easier to defend, and reduces the risk of leaking internal IDs or partial data. Treat this narrowing as a deliberate step rather than an export-everything-and-clean-up-later habit.
- List the columns the receiver actually needs before exporting anything.
- Use column extraction or a copy sheet so helper columns stay in the workbook.
- Rename headers in the export if the receiver expects clearer or shorter field names.
Pick the delimiter that matches the receiving system
Region, vendor, and tooling differences make delimiter choice a frequent source of broken imports. Comma is the safe default for most modern tools, semicolon is common for European spreadsheet exports, tab is useful when commas are expected inside product or address fields, and pipe is a stable choice for log-style or delimited payloads. A quick detector pass can confirm what the receiver expects before the file is sent.
- Comma is the default for general CSV imports and modern partner handoffs.
- Semicolon is common for European Excel exports and some ERP systems.
- Tab avoids most comma conflicts in product, address, and description fields.
- Pipe is a stable delimiter for log-style or positional exports.
Clean and dedupe the working data before the export
A finished spreadsheet usually has stray spaces, repeated rows, or rows that should not have been there in the first place. Running a quick whitespace pass and a dedupe pass against the narrowed data keeps the export honest. Cleanup also gives a natural review moment to remove rows that snuck in from a copied block, a test entry, or a placeholder value.
- Trim and normalize whitespace so visible and pasted values compare cleanly.
- Dedupe rows after narrowing, not before, so helper columns do not block legitimate matches.
- Watch for header rows that were pasted as data and remove them before exporting.
Preview the export as a table before sharing it
Previewing the parsed export catches shifted columns, missing headers, and unexpected quoting before a partner or a script sees the file. A small preview is much cheaper than a follow-up message explaining why a column is two cells to the right of where it should be. Treat the preview as the last review pass for column shape, header names, and value formatting.
- Preview the parsed result with the right delimiter before downloading.
- Confirm header names line up with the values in the first data row.
- Spot-check date, number, and boolean formatting against the receiver's expectation.
For JSON exports, decide the shape and the formatting
JSON exports carry their own risks. An array of flat objects is the most common handoff shape and the easiest to import. Nested objects and arrays should be stringified into a single cell unless the receiver has explicitly agreed to a nested shape. Indentation matters for review, not for parsing, so a pretty-printed version is usually best for the handoff note, with a minified copy saved if the destination needs a single-line payload.
- Prefer an array of flat objects for spreadsheets with a simple column list.
- Stringify nested values into one cell unless the receiver expects a nested shape.
- Pretty print for the handoff note, and keep a minified copy if the destination needs a compact payload.
Document the export for the next person who reads it
Local export tools do not save context. Record the source sheet, the chosen delimiter or JSON shape, the date the export was generated, the column-narrowing rules, and any cells that were removed. Saving a short note next to the exported file turns the handoff from a one-time message into something a teammate can verify or rerun later.
- Note the source sheet, the export date, and the chosen delimiter or JSON shape.
- Record which columns were kept and which helper columns were removed.
- Mention any rows that were removed or flagged during dedupe or cleanup.
- Save a short rollback note in case the receiver asks for the wider export later.
Match the export to the next system instead of forcing a fit
The cleanest handoffs happen when the export matches the next system's expectations rather than trying to make the receiver adapt. A tracker import may want a header-only CSV, a partner system may want a semicolon file, an API may want a JSON array with explicit field names, and a doc note may only need a small Markdown table. Choose the export that fits the next step, and document the choice so the same pattern is easy to repeat on the next handoff.
- Use header-only CSV for spreadsheet imports and partner trackers.
- Use semicolon or tab CSV when the receiver has flagged a specific delimiter.
- Use JSON arrays with explicit field names for API samples and config handoffs.
- Use a small Markdown table for read-only handoffs in docs, tickets, or release notes.