KingDownloads

greenmask

by GreenmaskIO 1.7k stars Apache-2.0Backup & Sync
Download
greenmask preview

About greenmask

Greenmask is an open-source utility for logical database dumping, anonymization, and synthetic data generation. It supports PostgreSQL and is working on MySQL compatibility. The tool creates backups that work with standard restoration tools like pg_restore or mysqldump.

It is designed for tasks such as sanitizing sensitive data, creating development database subsets, and generating synthetic test data. The tool operates statelessly and ensures compatibility with existing database workflows.

Key features

  • Database subsetting for creating smaller, referentially intact development databases
  • Storage agnostic support for local directories and S3-compatible storage
  • Deterministic transformation using hash functions for reproducible data masking
  • Dynamic parameters to maintain logical consistency during transformations
  • Transformation conditions to apply logic based on specific criteria
  • Transformation inheritance for partitioned tables and foreign key references
  • Database type safety using native database drivers
  • Extensible architecture for custom transformations in any programming language

Download v0.2.22

Jul 1, 2026
View all 10 versions

Frequently asked questions

Is greenmask free?
Yes. greenmask is free and open-source software, distributed under the Apache-2.0 license.
Which platforms does greenmask support?
greenmask provides downloads for Windows, macOS, Linux.
What is the latest version of greenmask?
The latest version is v0.2.22, released on Jul 1, 2026.
What databases does Greenmask support?
Greenmask fully supports PostgreSQL and is currently working on MySQL support, which is in beta.
How does Greenmask handle data masking?
It uses deterministic transformations with hash functions to ensure consistent output for the same input, maintaining data integrity.
Can Greenmask be used for synthetic data generation?
Yes, it includes features for generating realistic test data from scratch using custom transformations.
Is Greenmask compatible with standard database tools?
Yes, it creates logical backups compatible with pg_restore and mysqldump, making it easy to integrate into existing workflows.

More Backup & Sync