CSV Contract WorkbenchDefine reusable YAML contracts for CSV files, edit them visually in VS Code, and run the same validations interactively or in unattended workflows. Build contracts visuallyCreate a contract from a CSV to start with its real column names, then set presence and data-quality rules from the workbench. Save one or more local paths or HTTP/HTTPS URLs as test targets when the same contract should run without prompting. Each configured target can be opened in VS Code or with its registered external application; URL targets open in a read-only VS Code document or in the browser. The YAML file remains the source of truth and can always be edited directly with schema-aware IntelliSense.
Configure required and optional columns, null handling, uniqueness, lengths, allowed values, and regular expressions. See failures in contextRun a contract against a CSV and follow live per-target progress while large files are being checked. Review file, column, row, and cell failures directly below the run summary, before the column and row-test editors.
Inspect the selected column and the latest validation result in one workspace. Run workspace test suitesOpen CSV Contract in the Activity Bar to see every What you can validate
Get started
Generated contracts are deliberately conservative: they capture the observed columns and include sample row and cell assertions without guessing business rules. You decide which columns are required, unique, nullable, length-limited, or restricted to known values. Reuse the same contractContracts are plain YAML files designed to live beside the data workflow they protect. A broad schema contract and focused spot-check contracts can be applied to the same CSV. The included Node CLI and PowerShell wrapper use a streaming validator for unattended runs. Compatible contracts share one CSV pass, diagnostics remain bounded, and exact uniqueness checks spill to temporary disk instead of retaining the entire CSV in memory. Local by designCSV contents and contracts are processed locally. CSV Contract Workbench does not upload validation data to a hosted service. LicenseThe extension code and documentation are licensed under Apache-2.0. CSV Contract Workbench and its product marks are Incursa brand assets and are not granted under that license. Run from PowerShellThe installed extension includes the PowerShell wrapper and its bundled validation engine. Node must be available on Locate the currently installed extension and run every target configured in a contract:
Run several contracts together:
Configured file paths and URLs are used automatically. Supply |


