Anofox Tabular
Data quality, validation, PII detection and anomaly detection for DuckDB
Anofox Tabular is a DuckDB extension with about 100 SQL functions for checking and cleaning
tabular data. It validates emails, phone numbers, addresses, VAT numbers and money values, runs
data quality checks, finds and masks personal data, scores anomalies, diffs tables and profiles
columns. Everything runs inside DuckDB, on your tables, with SQL.
Using an AI assistant? The repository is also a Claude Code plugin:
six skills that give Claude the exact signatures, output columns and pitfalls of every
function, so it writes working SQL from a request such as "check orders for nulls and
duplicates every night and keep the results". Install with
/plugin marketplace add DataZooDE/anofox-tabular, then
/plugin install anofox-tabular@anofox-tabular.
Key Features
| Module | What it does | Docs |
|---|
| Email | Validate addresses by regex (format only: a typo like gmail.con passes), DNS MX lookup or SMTP handshake | api/01-email |
| Postal | Parse and normalize addresses with libpostal; needs ~500 MB of data in ~/.duckdb/extensions/libpostal; parts are lower-case and the country is the name as written, not an ISO code | api/02-postal |
| Phone | Parse, validate, format and compare phone numbers of all 245 libphonenumber regions and its non-geographic numbers (+800, ...), with libphonenumber's metadata (a number with an unknown region or country code is not judged: NULL) | api/03-phone |
| Money | Exact DECIMAL(18,3) money values, currency-safe arithmetic, formatting for 38 currencies | api/04-money |
| VAT | Validate VAT numbers of 28 countries (27 EU member states plus GB/XI): syntax for all, check digits for 16 of them | api/05-vat |
| PII | Detect and mask emails, card numbers, IBANs, SSNs, dates of birth, German SV, health insurance (KVNR) and ID card numbers, names and more; scan whole tables | api/06-pii |
| Data quality | 17 checks, a table-driven suite runner and event outputs | api/07-data-quality |
| Anomaly detection | Isolation Forest, DBSCAN and OutlierTree with explanations | api/08-anomaly-detection |
| Diffing | Row-level diff of two tables on a primary key, column-level schema drift | api/09-diffing |
| Profiling | Per-column statistics, table overview, correlations | api/10-profiling |
Table of Contents
Installation
Community extension
INSTALL anofox_tabular FROM community;
LOAD anofox_tabular;
To upgrade to the newest release:
FORCE INSTALL anofox_tabular FROM community;
Supported: DuckDB v1.5.6 and 2.0 on linux_amd64, osx_arm64 (Apple silicon) and
windows_amd64. Intel Macs (osx_amd64) are no longer supported since v2026.10.31. Releases use
date versions such as v2026.11.21.
The community build can be older than these docs. Check which release you have:
SELECT extension_version FROM duckdb_extensions() WHERE extension_name = 'anofox_tabular';
This is the date version of the release (v2026.11.21). Builds for DuckDB v1.5.6 up to
v2026.10.29 report the short git commit hash of the release instead (for example a3bc642), as
does a build made from a checkout without the release tags. To map a hash to its release, open https://github.com/DataZooDE/anofox-tabular/commit/<hash>
(GitHub lists the release tags that contain the commit), or run git tag --contains <hash> in
a clone of the repository.