Greenmask
Greenmask is a free, open-source utility for logical database dumps, data anonymization, synthetic data generation, and restoration.
What Greenmask is
Greenmask is a free, open-source utility for logical database dumps, data anonymization, synthetic data generation, and restoration. It fully supports PostgreSQL 11 and later; MySQL is listed as beta and in progress. Its subsetting tools create smaller development databases while maintaining referential integrity, including cyclic and polymorphic references. Transformations can be deterministic or random, use dynamic parameters and conditional rules, and carry through partitions and foreign-key relationships. Users can build custom transformers that exchange data through standard input and output, or start from provided templates. Storage options include local directories, S3-compatible storage, Azure Blob Storage, and SSH/SFTP. Greenmask uses PostgreSQL's pg_dump and pg_restore for schema dumping and restoration, and its dumps can be restored with pg_restore. It is designed for CI/CD workflows that automate anonymization and restoration. Its stateless, in-flight approach can transform data before persistence without requiring unmasked datasets to be persistently stored in the normal workflow. Installation scripts support Linux and macOS; Windows is not supported yet.
Good
- Free, open-source utility.
- Supports PostgreSQL 11 and later.
- Subsetting preserves referential integrity.
- Includes custom transformer support and templates.
- Supports local, S3-compatible, Azure Blob, and SSH/SFTP storage.
Watch out
- MySQL support remains beta and in progress.
- Windows is not supported by the installation script.
- Security policy supports only the latest stable release.
Who it suits
Greenmask suits teams that need PostgreSQL anonymization, subsetting, or synthetic data generation in development or CI/CD workflows. It is also relevant to users needing self-hosted deployment or multiple storage backends.
Verdict
Greenmask combines database dumping and restoration with anonymization, subsetting, and synthetic data generation. PostgreSQL is fully supported, while MySQL support remains in progress and beta.
Plans and prices
From Greenmask's own pricing page, checked 29 Sep 2026.
| Plan | Price | What it gives you |
|---|---|---|
| Greenmask | Free | Open-source utility · PostgreSQL supported · MySQL support in progress |
The facts
Each one read from Greenmask's own pages, with the date it was checked.
What it does
- CI/CD
- Greenmask is designed to integrate into CI/CD systems for automated database anonymization and restoration.checked 29 Sep 2026
- Custom transformations
- Users can create custom transformers that interact through standard input and output, and the tool also provides predefined templates.checked 29 Sep 2026
- Database support
- PostgreSQL is fully supported, while MySQL is described as in progress and beta.checked 29 Sep 2026
- Database tools
- Greenmask uses PostgreSQL's pg_dump and pg_restore utilities to handle schema dumping and restoration, and its dumps can be restored with pg_restore.checked 29 Sep 2026
- Installation limit
- The installation guide says the install script works on Linux and macOS and that Windows is not supported yet.checked 29 Sep 2026
- PostgreSQL compatibility
- Greenmask is compatible with PostgreSQL versions 11 and higher.checked 29 Sep 2026
- Purpose
- Greenmask is an open-source utility for logical database dumping, anonymization, synthetic data generation, and restoration.checked 29 Sep 2026
- Security architecture
- Greenmask describes a stateless in-flight transformation design that can anonymize data before it is persisted and does not require persistent storage of unmasked datasets in its normal workflow.checked 29 Sep 2026
- Security reporting
- The security policy asks researchers to report vulnerabilities privately by email or GitHub private vulnerability reporting and says receipt will be acknowledged within 72 hours.checked 29 Sep 2026
- Storage integrations
- Supported storage backends include local directories, S3-compatible storage, Azure Blob Storage, and SSH/SFTP.checked 29 Sep 2026
- Subsetting
- Database subsetting can create smaller development databases while preserving referential integrity, including cyclic and polymorphic references.checked 29 Sep 2026
- Supported releases
- The security policy supports the latest stable release and lists older releases as unsupported.checked 29 Sep 2026
- Transformations
- Greenmask provides deterministic and random transformers, dynamic parameters, conditional transformations, and inheritance for partitions and foreign key references.checked 29 Sep 2026
The company
- Company history
- Greenmask says it was founded in 2023 with the launch of its Greenmask utility.checked 29 Sep 2026
Alternatives to Greenmask
- 1

MySQL
Free planAPILinuxmacOSSelf-hosted7.9Free plan - 2
DataVeil
Free planLinuxSelf-hostedWindows7.5From $5,690 a year - 3

Tonic Fabricate
Free planWebAPISelf-hosted6.8$29 usage-based - 4

Automic Continuous Delivery Automation
WebAPILinuxSelf-hosted6.5 - 5

MOSTLY AI
Free planWebAPILinuxSelf-hosted6.4Free plan - 6

ARX Data Anonymization Tool
Free planAPILinuxmacOSSelf-hosted6.3Free plan
