opyeb sqlmask

About sqlmask

2026-11-29

It exists to stop real customer phone numbers travelling around inside test copies of production dumps.

What it does

Paste SQL (INSERT, UPDATE, VALUES, COPY), CSV (RFC 4180) or JSONL and sqlmask finds emails, phones, cards, Korean resident numbers and IP addresses, then rewrites only those values. The structure stays intact, so the result can be loaded back into a database or used as a fixture.

Four modes: partial masking, deterministic pseudonyms, full redaction and format-preserving dummies. Deterministic pseudonyms keep the same value mapped to the same output so joins across tables still work.

Why only in the browser

A dump holds real personal data, and pasting it into an online tool sends it to someone else's server. This tool removes that path: no server code, no upload endpoint, no account.

Everything runs in this page's JavaScript. SHA-256 and HMAC are implemented locally, so no external library is loaded.

Scope

The formats and rules below are supported. Anything else may be missed, so reviewing the output is part of the workflow.

Limits

Detection is not complete. Unseen formats and unremarkable column names are missed, and an order number can look like a card number.

SQL support covers INSERT, UPDATE, VALUES and COPY. SELECT, DDL and stored procedures are untouched, and personal data inside comments is left alone — check before sharing.

Back to the anonymiser