Migrating from CSV, Excel and legacy exports: how to clean a file before you load it
- United States
- United Kingdom
- European Union
- Canada
- Australia
- India
- UAE
In short
Most systems without an API can still export a file, and a file can be migrated. Before loading, fix five things: text encoding, date formats, duplicate rows, a stable ID on every row, and references between files written as IDs instead of names. Then load parents before children and compare the destination with the file, row for row.
Five things to fix in the file
Each of these causes silent damage if left to the importer.
- Encoding: save as UTF-8, or names with accents and non-Latin scripts arrive corrupted.
- Dates: one format, year first. A column mixing 03/04/2026 and 2026-04-03 cannot be read reliably.
- Duplicates: decide which row wins before loading, not after.
- IDs: every row needs a stable identifier, so a second load updates instead of duplicating.
- Relations: a contact's company should be the company's ID, not its name.
Spreadsheets hide problems
Excel reformats what it shows. Long numbers lose digits, leading zeros disappear from postcodes and account codes, and text that looks like a date becomes one. Treat identifier columns as text, and check a few rows in a plain text editor before trusting the file.
What Aletheon does
CSV, Excel and JSON files are tested sources and destinations. You upload the file, the engine proposes a mapping, and the free sample loads real rows, reads the destination back and compares every field with the file. Rows it cannot place are held with the reason. Into a database, a table can be created from the file's own columns. Scanned documents, PDFs and other unstructured inputs are not read; they need extraction first.
| Check | How | Fix |
|---|---|---|
| Encoding | Open in a text editor; look at accented names | Re-export or save as UTF-8 |
| Dates | Sort the column; look at both ends | Rewrite as YYYY-MM-DD |
| Duplicates | Count distinct IDs against rows | Merge or remove |
| Leading zeros | Compare with the source screen | Format the column as text and re-export |
| Relations | Every reference resolves to a row in the parent file | Replace names with IDs |
Questions people ask
Can I migrate from a system that has no API?
Yes, if it can export to CSV, Excel or a database dump. The export is loaded into a destination that has a connector.
How large a file can be migrated?
The measured run is 2,000,000 records from a CSV export into PostgreSQL on one machine, with peak memory of 124 MB. Larger jobs are a Contact us conversation.
Can Aletheon read scanned documents or PDFs?
No. It reads structured files: CSV, Excel and JSON. Unstructured documents need to be extracted into a table first.
Try it on your own data
Run the free sample, read the reconciliation report, roll it back if you like.
Check a file with the free sample