Technical Documentation

Version 1.0.0 • Last updated: 2026-01-31

Installation & First Run (Windows)

SterileCSV is a portable, offline Windows package. No administrator rights are required.

System requirements

Unzip and keep files together

Unzip the SterileCSV archive into a folder you can write to (for example C:\\Tools\\SterileCSV).

Important: keep Start-SterileCSV.bat in the same folder as the other SterileCSV folders (such as dist\\ and python311\\). If you want quick access, create a Desktop shortcut instead of moving the .bat file.

First Run Notice: Because SterileCSV is a specialized offline tool, Microsoft Defender SmartScreen may flag it as "unrecognized". This is expected behavior for non-EV signed software.

To run: Click More infoRun anyway.

What happens on first run

License activation (offline)

After purchase, you receive a personalized, signed license.json by email (automatic delivery after payment).

setx STERILECSV_LICENSE "%PROGRAMDATA%\\SterileCSV\\license.json"

Activation is fully offline: SterileCSV validates an Ed25519-signed license.json locally.

Usage & manifests

  1. Launch via Start-SterileCSV.bat.
  2. Select the CSV file(s) you want to process.
  3. Choose an output folder, then start the conversion.

SterileCSV generates a separate .xlsx workbook (your input CSV is never modified). For auditability, it can also write a per-file .manifest.json next to the output containing hashes and conversion metadata.

Security Model

SterileCSV prevents CSV Injection (Formula Injection) attacks by sanitizing every cell before it touches the Excel workbook.

Neutralization Rules

If a cell starts with any of the following characters, it is treated as a string and the prefix is preserved but neutralized:

This ensures that malicious payloads like =cmd|' /C calc'!A0 are rendered as harmless text.

Type Inference Rules

The engine uses a deterministic multi-pass approach to infer data types while preserving crucial text data.

Numeric ID Preservation

Unlike standard Excel import, SterileCSV detects "Numeric IDs" (e.g., Zip Codes, SKUs) and forces them to be stored as Text to preserve leading zeros.

Input:  "0123456"
Excel:  123456 (Number)
Sterile: "0123456" (Text - Preserved)

Date Detection

Supported formats are strictly parsed as Excel Date objects:

Excel Formatting

The output .xlsx file is generated with professional defaults:

Uninstall

SterileCSV is portable. To uninstall, close the app and delete the unzipped SterileCSV folder. If you stored license.json elsewhere (or set STERILECSV_LICENSE), remove those as well.