Markdown / CSV verification guide

Repair AI Markdown table shifts before CSV handoff

Check the header, separator and body widths before handing off an AI-generated table. A pipe inside a cell is not a new column when escaped or quoted. Never invent an ambiguous missing value.

Make the widths agree

CheckValidNegative
Header3 columnsMissing separator
Separator3 columns2 columns
Body3 columns every rowRows differ
Pipe in cellText in one cellNew column by mistake

Validate parsed column counts, not the visual appearance alone.

Verify with fixtures

input.md is a valid example with an escaped pipe, negative.md has a short separator, and expected.csv is the checked output.

| id | name | note |
| --- | --- | --- |
| 001 | 山田 | "A | B" |

If a row has multiple plausible repairs, confirm the source and keep the repair basis.

Hand off with Web-Tool

  1. Keep the original Markdown and make a working copy.
  2. Use Table to Excel and verify output widths and values.
  3. Confirm the pipe stayed in one cell and every row has the same width.
  4. Give the recipient expected.csv and checklist.md.

This guide and Table to Excel work in the browser. Input is not sent to an external server.

Do not guess repairs

If the separator or body row has too few cells, do not fill blanks automatically. Confirm the source, generation conditions and sender first.