DevTools Logo

Data Anonymizer & PII Masker

Data Anonymizer & PII Masker

Mask names, emails, phones and IDs with consistent fakes. Deterministic, offline and never uploaded.

Runs in your browser
Same salt + value always gives the same fake. Leave empty to use the shared default.
Try an example

Original data

Anonymized output

Paste data to anonymize it

CSV, JSON and logs are supported. Nothing leaves this tab.

Details

Paste a CSV, JSON response or log excerpt and every detected email, phone, name, ID, card, IP or UUID is replaced with a stable fake. The same salt and the same original value always map to the same fake, so grouping, joins and repeated customers stay consistent across rows. Fake emails use RFC 2606 reserved domains and fake phones use the 555 range, so generated values cannot reach real people. Choose realistic fakes, truncated hashes, starred values or sequential tokens; switch numeric-ID remapping on when a column must stay numeric. The hashed mapping export contains no original values. Everything runs in your browser tab — no dataset is uploaded. Output is suitable for sharing samples in bug reports, not for regulated de-identification under HIPAA or PCI.

More examples

Sanitize a bug-report CSV

name,email,phone,user_id
Ada Lovelace,ada@example.com,555-123-4567,1001
Grace Hopper,grace@example.org,555-987-6543,1002

→ Mask style: Fake · Salt: team-secret

Each row keeps its shape, and repeated customers receive the same fake so joins still work.

Mask an API response

{"user":{"name":"Ada Lovelace","email":"ada@example.com"},"count":2}

→ {"user":{"name":"Rosa Xu (Oslo)","email":"rosa.xu42@example.test"},"count":2}

JSON keys and non-PII numbers survive; only leaf values matching PII patterns change.

Stable audit tokens

user=ada@example.com ip=192.168.1.10

→ Mask style: Token
→ user=<EMAIL_1> ip=<IP_1>

Sequential tokens make log excerpts readable in tickets without revealing endpoints.

Numeric surrogate IDs

user_id,amount
1001,25
1002,30
1001,40

→ Remap numeric IDs: on
→ 1003,25 / 1004,30 / 1003,40

Surrogates start above the largest original ID, so no original value survives in the output.

    Examples

    Repeated email

    Input
    email
    ada@example.com
    ada@example.com
    Output
    email
    julia.chen27@example.net
    julia.chen27@example.net

    Identical inputs share one fake, preserving row relationships.

    Token style logs

    Input
    user=ada@example.com ip=192.168.1.10
    Output
    user=<EMAIL_1> ip=<IP_1>

    Tokens keep log excerpts readable without revealing endpoints.

    Malformed JSON

    Input
    {"email": "a@example.com",}
    Output
    Invalid JSON — fix the JSON and the preview updates.

    Bad input never produces a partial, misleading anonymized document.

    About this tool

    Data Anonymizer & PII Masker transforms pasted CSV, JSON and log data into a safe-looking copy: emails, phones, names, identifiers, cards, IPs and UUIDs become realistic fakes. Each value is hashed with a salt and the digest seeds a deterministic fake generator, so the same original always gets the same replacement.

    That consistency is the point. Grouping, joins and repeated customers keep working after masking, while fake emails are limited to RFC 2606 reserved domains and fake phones to the 555 range. Four mask styles cover different needs: realistic fakes, truncated hashes, starred values and sequential tokens.

    Everything happens in the browser tab. The hashed mapping export contains only digests and fakes — never the originals — so it can be attached to a ticket without recreating a re-identification key. Output is for safe sharing of samples, not for regulated de-identification.

    What this tool does not do

    • Name detection relies on column headers and JSON keys; person names in free-form prose are not recognized.
    • Fakes come from small public pools, so collisions are possible; the tool reports them and offers hash/token styles.
    • Hashing is deterministic but not a cryptographic de-identification guarantee for regulated datasets.
    • Very large inputs (> 20 MB) are not supported; split files before pasting.

    How to use this tool

    1. Choose the format

      Select CSV, JSON or Logs; CSV delimiters are detected automatically, including semicolons and tabs.

    2. Set a private salt

      Type a phrase or regenerate one. The same salt reproduces the same mapping; an empty salt uses a shared default.

    3. Pick a mask style

      Fake keeps realistic shapes, Hash preserves uniqueness, Starred keeps last four characters and Token emits placeholders.

    4. Review detected fields

      Check the field chips under the output and use overrides on the JSON/CSV keys that need a different treatment.

    5. Copy or download

      Copy the anonymized output for a bug report and optionally download the hashed mapping for consistency audits.

    Use cases

    Bug reports

    Attach realistic data to issues without pasting customer identities.

    Support tickets

    Share log excerpts with engineers while keeping emails, IPs and card numbers masked.

    Test fixtures

    Derive stable QA data from real shapes without exposing production records.

    Detected PII types

    TypeExample input
    emailada@example.com
    nameAda Lovelace
    phone555-123-4567
    card4111111111111111
    ip192.168.1.10
    uuid550e8400-e29b-41d4-a716-446655440000

    Numeric IDs can be remapped to an unused surrogate range above the largest original value.

    Common mistakes

    Mistake:Leaving the salt empty for sensitive samples.

    Fix:Use a private salt; the shared default lets others precompute the same mapping.

    Mistake:Assuming masked data is legally de-identified.

    Fix:Treat the output as safe for sharing samples, not as HIPAA/PCI de-identification.

    Mistake:Using realistic fakes when downstream systems need unique keys.

    Fix:Switch to Hash or Token style to avoid collisions between different originals.

    Mistake:Sharing the value-level mapping export.

    Fix:This tool exports hashed originals only, so the mapping does not become a reversal key.

    Frequently asked questions

    Is the same value always replaced the same way?

    Yes, within one salt. The tool hashes the salt and the original value, then uses the digest to pick a fake. Identical inputs in different rows, columns or files produce identical outputs as long as the salt is unchanged.

    What stays consistent when I change the salt?

    The dataset shape does: row count, column count, keys, delimiters and non-PII values are preserved. Only the value-to-fake mapping changes, which is how you generate a fresh dataset for a different audience.

    Which PII types are detected automatically?

    Emails, UUIDs, Luhn-valid card numbers, national-ID shapes such as SSNs and IBAN-like codes, IPv4 addresses, phone numbers and names in columns or JSON keys whose names contain name, first, last or surname. Review the detected field chips before sharing — exotic formats need manual overrides.

    Is the original data recoverable from the output?

    Not from the anonymized text itself. The hashed mapping export contains only truncated one-way hashes, types, fakes and counts — never the original value — so it can be shared without becoming a reverse lookup table.

    Are files uploaded anywhere?

    No. Parsing, hashing and rendering run entirely in your browser tab. The tool makes no network requests and does not persist your dataset or salt.

    Can I use the output for HIPAA or PCI compliance?

    No. Deterministic fakes from small pools are designed for safe sharing in tickets and test fixtures, not for regulated de-identification. Keep the original under your existing controls and consult your compliance team for regulated data.

    References & standards