Last updated: December 02, 2026
Parse site audit export files by getting the raw CSV or XLSX into a clean table first, then normalize headers, delimiters, encodings, and blank cells before any triage rules run. If the export is messy, the right tool is the one that can read the file without changing the meaning of the columns. For a typical workflow, 3 steps are enough: import, normalize, triage.
Key takeaways
- Start with the file shape, not the audit logic: CSV and XLSX need different import settings.
- Fix delimiter, quote, and encoding problems before you map fields like URL, status code, and title.
- Python gives the most control, Google Sheets is often quickest for small exports, and no-code tools sit in the middle.
- A clean import is not the same as a clean audit; keep normalization separate from issue triage.
- The same export can break in three places: file type, header names, and empty cells.
What should you check first in site audit export files?
You should check the file type, the header row, and the text encoding first, because those three things decide whether the export can be read at all. A site audit export file is usually a CSV or an XLSX, and each one fails in a different way when the data is messy. Jump to the tool comparison.
Start by opening the file as plain text if it is CSV. Look for the delimiter, usually a comma or semicolon, and see whether fields with commas are wrapped in quotes. If the file is XLSX, inspect the first sheet name, merged cells, and whether the headers sit on row 1 or a later row. See the CSV rules and the Sheets workflow.
The most common problems are simple but costly. A comma inside a page title can shift every later column one step to the right. A file saved in the wrong encoding can turn accented characters into broken symbols. A header row with two blank cells can make a parser guess wrong about field names. Review blank-cell handling.
Use this order:
- Identify the export format:
.csvor.xlsx. The result is a file path that matches the import method. - Check the delimiter and quote style. The result is a table that keeps each field in its own column.
- Check encoding, usually UTF-8. The result is readable text instead of garbled characters.
- Confirm the real header row. The result is stable field names for mapping.
- List the fields you need for triage, such as URL, status code, indexability, title, and canonical. The result is a narrow import, not a bloated one.
For CSV handling rules, the Python standard library docs are the right reference point: Python csv module. For spreadsheet import behavior, Microsoft’s CSV guidance is a useful check on how delimiters and encoding affect what lands in a sheet: Microsoft Support.
This step matters because a bad import can look valid for 10 rows and then fail on row 11. That is why field mapping comes after format inspection, not before.
How do you parse a CSV export with Python?
You parse a CSV export with Python by reading it with the right delimiter, preserving text as text, and mapping columns by header name instead of column position. Python is often the better option when the file is large, the delimiter changes between exports, or the headers shift from one crawl to the next.
The built-in csv module is enough for a basic import. Use it when you need to read one file, standardize headers, and export a cleaned CSV for downstream rules. If the export is a little uneven, pandas.read_csv() can help because it handles column selection, missing cells, and type control in one place.
A simple parsing flow looks like this:
- Read the file with the declared delimiter. If the file uses semicolons instead of commas, the wrong delimiter will split titles and URLs into extra columns.
- Force the file encoding to UTF-8 if you know it was saved that way. If the source is another encoding, match that exact encoding instead of guessing.
- Strip header spaces and convert header names to one style, such as lowercase with shows. That turns
Status Codeandstatus codeinto one field name. - Map the incoming headers to your standard names. For example,
Addressmay becomeurl, andHTTP Statusmay becomestatus_code. - Keep empty cells empty unless you have a rule for them. A blank canonical is not the same as a missing file value.
- Write the cleaned output to a new CSV so the raw export stays untouched.
The main trade-off is control versus speed. Python gives you control over file quirks, but it asks for more setup than a spreadsheet. It is usually the wrong choice if you only need a quick look at a 200-row export and do not want to write code.
Python also helps when the file contains odd date formats, quoted commas, or extra summary rows. Those issues are common in exports from crawl tools, and a parser that keys off column names will often survive them better than one that assumes column 7 is always title. For implementation details, the Python csv docs are the safest reference: Python csv module.
How do you handle XLSX exports in Google Sheets?
You handle XLSX exports in Google Sheets by importing the workbook, checking the sheet structure, and normalizing the headers before you copy anything into triage logic. Sheets is often the quickest path when the export is small enough to inspect by eye and the workbook has 1 clear data sheet.
Open the file and confirm three things: the data is on the expected sheet, row 1 is really the header row, and merged cells are not hiding values. If the workbook contains formulas, note that Sheets may show calculated results rather than the original formula text. That matters when a column is built from a formula like a custom canonical or a derived score.
The import pattern is simple:
- Open the XLSX in Sheets.
- Check for extra tabs, hidden rows, and merged header cells.
- Freeze the top row so headers stay visible while you map fields.
- Rename headers to one consistent style.
- Copy only the fields you need into a new tab.
Sheets works well for quick review because it shows blanks, odd formats, and outlier rows without code. It breaks down when the export is large, when the workbook has multiple sheets with similar names, or when you need repeatable parsing across many files. If the import needs to be done 20 times a week, Python or a no-code pipeline is usually better.
A common mistake is to treat Sheets as a parser and a triage tool at the same time. If you are unsure whether that setup fits your process, consult a spreadsheet or data professional, and use Microsoft’s import guidance as a reference point for how delimiters and encoding affect what lands in the sheet: Microsoft Support. Keep the first tab as raw import, and put normalized columns on a second tab. That simple split saves time when a header changes from Status to HTTP Status Code in the next crawl.
Which tool should you use?
You should choose the tool based on file size, repeat frequency, and how much header drift you expect. The right answer is usually different for one-off exports and recurring crawl files.
| Tool | Best for | Weak point | Good fit for |
|---|---|---|---|
| Python | Repeated parsing, header mapping, mixed CSV and XLSX | Requires code and setup | CSV delimiter fixes, encoding control, normalization |
| Google Sheets | Fast inspection, small XLSX files, manual review | Breaks down on bigger or messier files | One-time cleanup, quick field mapping |
| No-code tools | Reusable imports without scripting | Less control over odd file quirks | Repetitive file intake, simple field routing |
| Airtable | Lightweight structured storage after import | Not ideal as the first parser | Cleaned exports that need tagging or handoff |

Airtable belongs after the file is readable, not before. It can work for storing normalized records, tagging rows, and passing data into later steps, but it is not the best first stop for a damaged CSV with a bad delimiter. If the file still needs encoding repair or header cleanup, get that done in Python or Sheets first.
This is the main trade-off: no-code tools reduce setup time, but they expect cleaner inputs. Python takes longer to set up, but it handles the messy edge cases that no-code systems often treat as import errors. If the exports are inconsistent, Python is often the safer first layer. For file parsing rules, the Python csv docs remain the most direct reference: Python csv module.
How do no-code tools fit into export normalization?
No-code tools fit into export normalization by turning a cleaned file into a repeatable import path, not by fixing every broken export. They are useful when you want the same mapping steps each time but do not want to write and maintain a parser.
A simple no-code flow is: upload file, map headers, choose output fields, and route the result into a table or spreadsheet. That works well when the source files are already close to standard and the only work left is normalization. It works less well when the export changes delimiter, adds extra title rows, or contains merged cells.
The useful part of no-code is consistency. If the same crawl tool exports URL one week and Address the next, a no-code mapper can still send both into one canonical url field. If the file often arrives with broken quoting or mixed encodings, no-code alone may not be enough.
That is why normalization should be narrow. Decide on one standard set of field names before you build the mapping: url, status_code, indexability, title, meta_description, canonical, and any crawl note you need later. The smaller the target schema, the easier the import path.
No-code is not a substitute for good file hygiene. It is a layer that sits after the raw file has been made readable. If the file is still dirty at the delimiter or encoding level, moving it into a no-code tool too early only hides the problem until later.
What mistakes break parsing the most?
The mistakes that break parsing most are delimiter drift, encoding mismatches, header drift, and silent blank-cell handling. Each one creates a different kind of bad data, and each one needs a different fix.
Delimiter drift is the easiest to miss. A file that uses commas in one export and semicolons in the next will import cleanly in the wrong tool but land in the wrong columns. The fix is to inspect the raw file before any import and set the delimiter explicitly.
Encoding mismatches usually show up as broken characters in titles, URLs, or page names. The fix is to import with the expected encoding rather than letting the tool guess. UTF-8 is the safest default when the export was saved that way.
Header drift is a mapping problem, not a file problem. If the export says HTTP status in one crawl and Status Code in another, the parser should map both to one standard field. Relying on column position instead of header name makes this worse.
Blank cells are the quietest error. A missing value in one column may be meaningful, like a missing canonical, or it may be expected, like an empty alt text for a non-image row. Keep the blank as blank during import and decide later whether it is an issue. If a row has missing fields, that is not automatically a parsing failure; it may simply be a blank value.
The safest pattern is to separate raw import, normalization, and triage. That 3-step split gives you a place to catch file problems before they turn into false crawl issues.
What should you do before triage rules run?
You should normalize the export before triage rules run, but only after the file is readable and the columns are mapped. That is the point where the data becomes dependable enough for issue logic without changing the source record.
Normalization means making the file consistent, not “clean” in a broad sense. Standardize the header names, trim stray spaces, normalize blank cells, and keep one row per URL if that is the shape your later logic expects. Do not fold triage judgments into this step. A missing title is a field state; a missing title issue is a rule.
The cleanest workflow is usually 3 layers: raw file, normalized table, triage output. Raw file holds the original export. Normalized table holds mapped columns and corrected text. Triage output holds the issue flags, counts, and follow-up queues. That split makes it easier to trace errors when a row looks wrong.
This is the part that the generic advice often misses. Parsing is not the same as cleaning, and cleaning is not the same as deciding what is broken. If those steps get mixed together, a simple CSV import can become impossible to debug. The site audit data operations hub belongs next in the sequence, because this page ends at ingestion. Return to the tool choice section.
What file formats do crawl exports use?
Crawl exports usually arrive as CSV or XLSX, and those two formats need different import settings. CSV is plain text, so delimiter and encoding matter most. XLSX is a workbook, so sheet names, merged cells, and formula results matter more.
How do you parse a crawl export with formulas and empty cells?
Parse formulas by deciding whether you want the formula text or the displayed value, then import that consistently. Empty cells should stay empty during parsing unless you have a specific normalization rule. That keeps missing data distinct from broken data. For rows with blanks, a professional review can help if the missing field affects reporting or compliance.
Should you clean exports before or after import?
Clean the export after import, but only after the file is readable and the columns are mapped. The first pass should fix format issues like delimiter, encoding, and headers. The second pass should handle normalization, and the third pass should run triage rules.
Drafted with AI; not yet reviewed by a person.
