Check your AGS 4 or DIGGS file before your client does.
Free AGS 4.x & DIGGS 2.x validator — every borehole drawn as a log, SPTs corrected to IS 2131 and a preliminary bearing check from your own file. Need a single number instead? Try a free calculator.
All 20 published AGS 4 rules and their sub-rules, read against the data dictionary your file declares, plus key links, depth order, units and coordinates. Measured rule by rule against the AGS Data Format Working Group's own checker on 303 files.
Where your data goes and what the checks cover
The source file is parsed locally and is not uploaded. Anonymous usage counts include file size, record counts and rules triggered. Optional analytics masks file contents. AI explanation sends finding messages only when requested; creating a share link stores the parsed result. The AGS Data Format Working Group’s checker remains the reference when a client requires its report.
Drop a file to begin
Your soil log, group breakdown, coordinate map, and validation findings will appear here. The source file is parsed locally. Sharing stores the parsed result; AI explanation sends finding messages only when you request it.
All 20 published AGS 4 rules, sub-rules 2a/2b, 10a–c, 11a–c, 16a, 18a and 19a/b included, against the AGS 4.0.3–4.2 dictionary. Then key links (GEOL and SAMP to LOCA), depth order and overlaps, units and coordinates. Every file gets an A–F grade.
A drawn log for every borehole, a map, SPT N corrected to IS 2131 with a first bearing and settlement check (IS 6403, IS 8009), a printable validation report, and conversion to AGS 4, DIGGS 2.6 or GeoJSON.
Before a file goes to your client, when one arrives from a contractor, and before you import it. To compare two deliveries row by row, use the free diff tool below.
Why this exists
AGS 4 is the working data format of ground investigation in the UK, Hong Kong, Singapore and Australia; DIGGS 2 is the US and OGC standard. TerraBrains imports and exports both, and runs this checker free and in your browser so any engineer can check a file before sending it on. If your firm hands over data, this is your tool.
Every rule, and how each one is read
Rule by rule, measured against the AGS Data Format Working Group's checker on 303 test and real-world files. Rule 20's FILE sub-folder lives beside a delivery, not inside the AGS file, so it is the one part a single upload cannot show.
What the free pre-check covers
All 20 AGS 4 rules plus data-quality checks, free in a browser tab. Measured against the AGS Data Format Working Group's checker on 303 files; where the two read a rule differently, it is noted below.
| Feature | TerraBrains | Scope |
|---|---|---|
| Published AGS 4 rules | All 20 (Rules 1–20) | Every sub-rule (2a/2b, 10a–c, 11a–c, 16a, 18a, 19a/b), against the AGS 4.0.3–4.2 data dictionary the file declares. On 303 test and real-world files it flags the same rules as the AGS Data Format Working Group's checker, except where the rule text is followed more literally: group names shorter than 4 characters are accepted (Rule 19: "not more than 4"), a user group whose DICT parent is "-" is a root group, and a value broken across lines is also reported under Rule 6. Not checkable from one uploaded file: the Rule 20 FILE sub-folder. |
| Data-quality checks | yes | Depth order and overlaps, key links (GEOL/SAMP → LOCA), units, coordinates. |
| DIGGS 2.x parsing | yes | Boreholes and strata are read for the log strips and given structural checks (root element, wells, duplicate names, coordinates, strata links and depths). The file is not validated against the DIGGS XML schema. |
| Conversion | AGS · DIGGS · GeoJSON | Boreholes and strata. |
| Soil-log strips and borehole map | yes | Rendered from the parsed boreholes and coordinates. |
| File health grade A–F | yes | A summary of the checks above. Any error — a broken AGS rule included — caps the grade at C, so an A or B means no rule was broken. |
| AI explanation of warnings | on request | Sends the finding messages (they can quote borehole IDs and values) and group counts — not the file — to our server when you ask. |
| Parsing location | your browser | The file itself is never uploaded. Anonymous usage counts are recorded; a share link, made only when you ask, stores the parsed result on our server for 30 days. |
| Price | Free | No signup required. |
More free validator tools
Diff two AGS or DIGGS files Compare an old delivery against the new one and see every row that was added, removed, or modified — with field-level red/green highlights.
Check the file, then keep working on it.
Import the same AGS file into a project and the boreholes, layers, samples and SPT values are ready for analysis, modelling and a signed report.