Neosync Alternatives for PostgreSQL (2026): What to Use Now That Neosync Is Archived

Neosync was one of the best-known open-source tools for anonymizing production data and generating synthetic test data. If your staging pipeline depends on it, you have probably noticed that it is no longer moving: the GitHub repository was archived by its owner on August 30, 2025 and is now read-only, and its README states that "Neosync has been acquired by Grow Therapy" and that the repository "is no longer actively maintained." This guide explains what that means for existing users and compares the PostgreSQL alternatives worth evaluating in 2026.

Disclosure: Cloud-DB-Anonymizer is our tool. We describe every project from its own documentation and have tried to be fair; corrections are welcome.

What happened to Neosync

Neosync was built by Nucleus Cloud and released under the MIT license. In September 2025, Grow Therapy announced it had acquired Neosync, with the co-founder saying the team would bring "Neosync's data anonymization and synthetic data technology into mental health care at scale." The public repository had been archived a month earlier.

Because the code is MIT-licensed, you can keep running the last release or fork it. The practical risk is maintenance: no new PostgreSQL version support, no security fixes and no answers on the 35 open issues frozen in the archive. For anything you expect to run for years, plan a migration.

What Neosync did (and what you need to replace)

Before choosing an alternative, list which Neosync features you actually use. According to its website and README, Neosync offered:

  • Anonymization of existing production data: mask, redact, scramble or obfuscate columns.
  • Synthetic data from 40+ pre-built transformers, plus custom transformers in JavaScript or via LLMs.
  • Subsetting by schema, table, column or a custom SQL query.
  • Referential integrity: primary keys, foreign keys, unique constraints and circular dependencies.
  • Connectors for Postgres, MySQL and S3, with an async job pipeline, retries, Docker Compose or Helm deployment and Terraform/GitOps configuration.

Most teams used a subset of this: "copy production into staging, with PII replaced, every night." That narrower job has several good replacements.

Neosync alternatives at a glance

Tool Type License Closest Neosync feature Main gap vs Neosync
Greenmask Go dump/restore tool Apache-2.0 Anonymization + referentially intact subsetting No hosted UI; config-file driven
PostgreSQL Anonymizer PostgreSQL extension PostgreSQL License Masking rules, anonymous dumps Needs the extension installed on the server
pganonymize Python CLI MIT Column masking with Faker providers Rewrites the target database in place
Cloud-DB-Anonymizer Python CLI (+ paid self-hosted Pro Suite) MIT (CLI) Anonymized, restorable dumps with consistent keys No referential subsetting, no synthetic generation, PostgreSQL only
Tonic Structural Commercial platform Proprietary De-identification, subsetting, UI Paid, not open source

Greenmask: the closest open-source match

Greenmask positions itself as a replacement for pg_dump/pg_restore with anonymization built in. It uses hash-based deterministic transformers, supports conditional transformations, writes to local disk or S3-compatible storage, and can produce referentially intact subsets, including cyclic references. If you relied on Neosync's subsetting to shrink a large database, Greenmask is the most direct open-source replacement. MySQL support is in beta, so Neosync users with MySQL should check its current status.

PostgreSQL Anonymizer: rules inside the database

PostgreSQL Anonymizer by Dalibo is a server extension. You declare masking rules next to your table definitions and choose static masking (rewrite data), dynamic masking (masked roles see fake values) or anonymous dumps. It has a wide function library: faking, partial scrambling, shuffling, noise and custom functions. It requires loading anon through shared_preload_libraries, so check whether your managed provider supports it. It is the best fit when analysts query live data and must not see PII, something Neosync did not do.

pganonymize: simple masking of a copy

pganonymize is a Python CLI configured with YAML. You pick providers such as faker, mask, md5 or clear per column. It anonymizes the target database directly (there is a --dry-run), so run it against a restored copy, never production. It suits teams that already restore a nightly backup into a scratch database.

Cloud-DB-Anonymizer: read-only production to restorable dump

Cloud-DB-Anonymizer is a free MIT-licensed Python CLI built for the most common Neosync job: a sanitized copy of production for staging, without touching production. It opens a single REPEATABLE READ, READ ONLY transaction, exports the schema with pg_dump, streams rows through 20 strategies (email, name, phone, Luhn-valid credit card, IBAN, SSN, address, IP, date of birth, hash, redact, null, keep and more) and writes a gzip SQL file in foreign-key order with sequences reset. JSONB, arrays and identity columns are handled.

Every fake value is derived from HMAC-SHA256 with your secret salt, so the same input always produces the same output in every table and on every run. That gives you the consistent-key behavior Neosync users rely on, without a separate mapping table.

Migrating a Neosync job usually means translating your transformer mappings into a rules.json file:

python main.py init rules.json        # starter file
python main.py strategies             # list the 20 strategies
python main.py preview jane@corp.com --strategy email
{
  "schema": "public",
  "include_unlisted_tables": true,
  "exclude_tables": ["sessions"],
  "tables": {
    "users":    { "columns": { "email": "email", "full_name": "name", "phone": "phone" } },
    "payments": { "columns": { "card_number": "credit_card", "iban": "iban" } },
    "tickets":  { "columns": { "body": "redact" }, "where": "created_at > now() - interval '90 days'" },
    "uploads":  { "skip_data": true }
  }
}

Validate the rules against the live schema, then export and optionally upload to one S3-compatible bucket:

export ANON_SALT=$(openssl rand -hex 32)
python main.py sanitize --db-url "$DATABASE_URL" --rules rules.json --dry-run
python main.py sanitize --db-url "$DATABASE_URL" --rules rules.json \
  --upload staging-dumps --endpoint-url https://<account>.r2.cloudflarestorage.com
gunzip -c sanitized_*.sql.gz | psql "$STAGING_DATABASE_URL"

Per-table where filters and skip_data cover simple size reduction, but this is not Neosync-style referential subsetting, and there is no synthetic data generation. If you need those, look at Greenmask or a commercial platform.

If you used Neosync for its UI and scheduled jobs, the paid self-hosted Pro Suite adds a web dashboard, a rules editor, a cron scheduler, parallel uploads to AWS S3, Cloudflare R2 and DigitalOcean Spaces with retention pruning, and Telegram or Discord alerts, all running in your own Docker Compose stack.

Tonic Structural: if you want a supported product

If the lesson of Neosync is that you want a vendor on the hook, Tonic Structural is a commercial de-identification platform with subsetting and a full UI. It is proprietary and priced accordingly, so it fits larger teams with compliance budgets better than a side project.

How to choose

  • You need subsetting of a large database: Greenmask.
  • Analysts query live data and must not see PII: PostgreSQL Anonymizer with dynamic masking.
  • You already restore backups into a scratch database: pganonymize.
  • You want a read-only, extension-free path from managed PostgreSQL (RDS, Cloud SQL, Supabase, Neon) to a restorable file: Cloud-DB-Anonymizer.
  • You need synthetic data, many databases and vendor support: a commercial platform such as Tonic Structural.

Whatever you pick, keep the rules in version control and review them with every schema migration, so new PII columns never reach staging unmasked. For a broader feature comparison, read open-source PostgreSQL data masking tools compared; for a step-by-step setup, see how to anonymize a PostgreSQL database for staging, or visit the Cloud-DB-Anonymizer project page.

Sources