Freedom251 › Data Masking Software
Greenmask

What Greenmask is
Greenmask is a free, open-source utility for logical database dumps, anonymization, synthetic data generation, and restoration. PostgreSQL 11 and later are fully supported; MySQL support is still in beta and in progress. Its subsetting features can create smaller development databases while maintaining referential integrity, including cyclic and polymorphic references. Data transformations can be deterministic or random, with dynamic parameters, conditional rules, and inheritance for partitions and foreign-key references. Users can make custom transformers that communicate through standard input and output, or use predefined templates. Storage options include local directories, S3-compatible storage, Azure Blob Storage, and SSH/SFTP. Greenmask uses PostgreSQL's pg_dump and pg_restore utilities for schema dumping and restoration, and its dumps can be restored with pg_restore. It is designed for automated anonymization and restoration in CI/CD workflows. Its stateless, in-flight approach can transform data before persistence without requiring persistent storage of unmasked datasets in its normal workflow. Installation scripts support Linux and macOS; Windows is not supported yet.
Who it suits
Greenmask suits teams that need to anonymize or subset PostgreSQL databases for development or automated CI/CD workflows. It may also fit users who need synthetic data and restoration, provided they use a supported platform.
What it does well
- Free, open-source utility
- PostgreSQL 11 and later supported
- Subsetting preserves referential integrity
- Supports local, S3-compatible, Azure, and SSH/SFTP storage
- Transformations can run before data is persisted
What to know first
- MySQL support remains beta and in progress
- Installation scripts do not support Windows
- Older releases are unsupported
Limits
PostgreSQL is fully supported, while MySQL is still beta and in progress.
Plans
| Plan | Billed and limits | Price |
|---|---|---|
| Greenmask | Open-source utility · PostgreSQL supported · MySQL support in progress | Free |
As github.com lists them, read 29 Sept 2026. The maker's own page has the final word.
Getting started
- Open the Greenmask project website on GitHub.
- Use a Linux or macOS environment; the installation script does not support Windows.
- Install Greenmask using the project's installation guide.
- Connect it with PostgreSQL 11 or later for full database support.
- Choose a supported storage backend and configure dump, transformation, and restoration steps for your workflow.
Greenmask is an open-source utility for dumping, masking, subsetting, generating synthetic data and restoring databases. It best suits teams working with PostgreSQL who need an on-premises tool they can automate in CI/CD. Its broad transformation and storage options are compelling, but MySQL remains in beta and Windows is not supported by its install script.
Overview
Greenmask focuses on logical database workflows: it uses PostgreSQL’s own pg_dump and pg_restore utilities for schema dumps and restoration, and those dumps can also be restored with pg_restore. That familiar foundation makes it a practical fit for PostgreSQL teams already using these tools. PostgreSQL 11 and later are supported; MySQL support is still in progress and beta, so it is not a dependable choice for production MySQL workflows.
Greenmask describes its masking as stateless and performed in flight. In its normal workflow, unmasked datasets do not need to be stored persistently, which can help teams reduce exposure while preparing development or test data. The utility is designed for CI/CD automation, rather than just occasional manual exports.
Key features
Masking and synthetic data
Static masking can use deterministic or random transformers, dynamic parameters and conditional rules. Inheritance across partitions and foreign-key references helps keep transformations consistent across related data. Teams can also build custom transformers that communicate through standard input and output, with predefined templates as a starting point. This flexibility is useful for tailored anonymization, though it means the masking approach depends on configuring transformations for the data at hand.
Synthetic data generation adds another way to prepare non-production datasets. Greenmask also supports subsetting while preserving referential integrity, including cyclic and polymorphic references. That makes smaller development databases more useful than extracts that break relationships, particularly for teams working with complex schemas.
Storage and restoration
Dumps can go to local directories, S3-compatible storage, Azure Blob Storage or SSH/SFTP. These choices suit teams with different storage setups without changing Greenmask’s PostgreSQL-based dump and restore workflow.
Pricing
Greenmask — free. The free, open-source utility includes PostgreSQL support, with MySQL support in progress. There is no paid tier described; the key trade-off is database coverage rather than a stated usage quota. PostgreSQL teams can use the core utility at no cost, while teams needing established MySQL support should look elsewhere.
Platforms
Greenmask is self-hosted and supports Linux and macOS. Its installation script does not support Windows yet, which rules it out for teams that require a Windows installation path. The deployment model suits organizations that want to run database preparation within their own environment.
Who it's for
Greenmask is a strong fit for PostgreSQL teams that need repeatable anonymized or synthetic datasets, smaller referentially sound development copies, and automated restoration in CI/CD. It is less suitable for MySQL-first teams today, or for users who need a supported Windows installation.
Pros and cons
- Pros: Free and open source, with PostgreSQL support from version 11 onward.
- Pros: Subsetting preserves complex relationships, including cyclic and polymorphic references.
- Pros: In-flight transformations and a stateless design avoid persistent storage of unmasked datasets in the normal workflow.
- Pros: Multiple storage backends, custom transformers and CI/CD integration support varied automated workflows.
- Cons: MySQL support is beta and in progress, limiting its suitability for established MySQL workloads.
- Cons: The installation script supports Linux and macOS, not Windows.
Alternatives
For a broader comparison, see Data Masking Software.
- MySQL is worth considering when you need a free community edition with SQL and NoSQL applications, replication and high-availability components, or Windows support.
- ARX Data Anonymization Tool is another free, open-source option, with Linux, macOS, Windows and API platforms.
- DataVeil may fit Windows-based workflows; its free Community License covers databases up to 10GB and includes dataset and user SQL masks.
- Jailer is a free database tool for Linux, macOS and Windows.
- MOSTLY AI offers a free plan and supports API, Linux, self-hosted and web platforms.
- PostgreSQL Anonymizer is a free PostgreSQL-focused alternative, with commercial support available separately.
- Data Mask Studio is a free, open-source Windows desktop app.
- Oracle Cloud Infrastructure Secret Management is another free option, available through API and web platforms.
Verdict
Choose Greenmask if your team runs PostgreSQL 11 or later and wants free, self-hosted masking, integrity-preserving subsets and automated restore workflows. Its strongest case is the combination of flexible transformations and in-flight handling; its clearest reasons to look elsewhere are beta MySQL support and the lack of a Windows installation path.
Verdict
Greenmask offers database dumping, masking, subsetting, synthetic data generation, and restoration at no cost. PostgreSQL is its fully supported database; Windows installation and MySQL support are limited.
Questions
How much does Greenmask cost?
Greenmask is free.
Which databases does it support?
PostgreSQL 11 and later is fully supported. MySQL support is in progress and beta.
Which platforms can run Greenmask?
Greenmask lists Linux, macOS, and self-hosted availability. The installation script works on Linux and macOS; Windows is not supported by that script.
Is Greenmask open source?
Yes. Greenmask is an open-source utility.
Can it preserve database references when making subsets?
Yes. Subsetting can preserve referential integrity, including cyclic and polymorphic references.
Where can it store dumps?
Supported backends include local directories, S3-compatible storage, Azure Blob Storage, and SSH/SFTP.
Facts from Greenmask's own pages
- CI/CD
- Greenmask is designed to integrate into CI/CD systems for automated database anonymization and restoration. · docs.greenmask.io, 29 Sept 2026
- Company history
- Greenmask says it was founded in 2023 with the launch of its Greenmask utility. · greenmask.io, 29 Sept 2026
- Custom transformations
- Users can create custom transformers that interact through standard input and output, and the tool also provides predefined templates. · docs.greenmask.io, 29 Sept 2026
- Database support
- PostgreSQL is fully supported, while MySQL is described as in progress and beta. · github.com, 29 Sept 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. · docs.greenmask.io, 29 Sept 2026
- Installation limit
- The installation guide says the install script works on Linux and macOS and that Windows is not supported yet. · docs.greenmask.io, 29 Sept 2026
- PostgreSQL compatibility
- Greenmask is compatible with PostgreSQL versions 11 and higher. · docs.greenmask.io, 29 Sept 2026
- Purpose
- Greenmask is an open-source utility for logical database dumping, anonymization, synthetic data generation, and restoration. · github.com, 29 Sept 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. · github.com, 29 Sept 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. · github.com, 29 Sept 2026
- Storage integrations
- Supported storage backends include local directories, S3-compatible storage, Azure Blob Storage, and SSH/SFTP. · docs.greenmask.io, 29 Sept 2026
- Subsetting
- Database subsetting can create smaller development databases while preserving referential integrity, including cyclic and polymorphic references. · github.com, 29 Sept 2026
- Supported releases
- The security policy supports the latest stable release and lists older releases as unsupported. · github.com, 29 Sept 2026
- Transformations
- Greenmask provides deterministic and random transformers, dynamic parameters, conditional transformations, and inheritance for partitions and foreign key references. · docs.greenmask.io, 29 Sept 2026
Where Greenmask stands on Freedom251
- Data Masking Software#3 of 26