Local StudioSECURITY TOOLS

JSON Data Masker

Choose which JSON values to mask, review the matched paths, and download a separate copy.

  • Free
  • Works Offline
  • No Uploads
Works with:
  • Microsoft Edge
  • Google Chrome
  • Mozilla Firefox
  • Safari
JSON Data Masker reviewing three exact email paths in a synthetic contacts array, with changed and unchanged values.
Review matched JSON paths and a limited before-and-after preview before building the masked copy.

How to Mask JSON Data

  1. Open the HTML, review Security Check, then select Continue.
  2. Open a local UTF-8 JSON file or choose Open Sample.
  3. Choose Exact JSON Pointers or Array Collection Paths. Enter one path per line. Escape key slashes as ~1 and tildes as ~0. In collection mode use * for an array.
  4. Choose a mask and select Review Matches. Inspect the exact paths and the limited before-and-after preview.
  5. Select Build Masked Copy and download the JSON. Download Audit Summary to save counts and rule modes separately.

Review the Selected Values Before Saving

  • Review the exact paths and distinguish changed, unchanged, and missing matches.
  • Keep numeric tokens, whitespace, and escaping outside the selected values.
  • Download a separate masked JSON copy and a summary with counts and rule modes.

Formats and Compatibility

InputChoose a UTF-8 JSON file or open the synthetic sample. Select an exact JSON pointer or use a wildcard to match items in an array.
OutputReplace values with literal text, clear them to JSON null, or keep a string suffix. The masked copy preserves the original JSON outside selected values.
BrowserA modern browser with local file support.
ScopeOne UTF-8 JSON file up to 8 MiB. Duplicate object keys and overlapping rules are rejected. A masked copy can be up to 16 MiB.
Operating Systems
  • Windows
  • macOS
  • Linux
  • ChromeOS

Local Processing Without Uploads

Use this browser-based tool to mask JSON data without uploading files.

Select Open Sample to see the workflow with the included example.

JSON Pointers and Array Collection Paths

Use /contacts/0/email for one row or /contacts/*/email in collection mode. Escape a slash in a key as ~1 and a tilde as ~0.

Masked Copy and Audit Summary

Review up to 500 matched paths. Up to 12 rows show abbreviated original and proposed values on screen. The optional audit download contains counts and rule modes.

Frequently Asked Questions

How do I mask JSON data offline?

Get the Mask JSON Data download, extract the ZIP, and open JSONDataMasker.html. The free Mask JSON Data tool includes an example you can try offline.

Can I mask JSON data in browser?

Yes. The local Mask JSON Data tool reads your file, reviews rules, and builds a separate copy on your device.

Can this anonymize JSON?

Use it to redact JSON fields you identify. Review values and keys that remain in the exported copy before sharing it. They can still identify someone.

What does the audit include?

It contains counts and rule modes. Original values and matched paths are available in the on-screen review within its limits.

How does Keep String Suffix work?

It prefixes the retained final 1–32 Unicode code points with [masked]. A string at or below the chosen length is fully masked.

What happens if paths overlap?

The tool asks you to resolve overlapping selections before building a copy. Remove one rule when it can cover a value already selected by another rule.

Does this tool work offline on Windows, macOS, Linux, and ChromeOS?

Yes. Local Studio tools run offline on Windows, macOS, Linux, and ChromeOS. Download the tool ZIP, extract it, and open the included HTML file in a supported browser. Your files are processed on your device without uploads.

Which browsers can I use with this offline tool?

Use a current version of Google Chrome, Microsoft Edge, Mozilla Firefox, or Safari where that browser is available for your operating system. Chrome is built into ChromeOS, and Safari is available on macOS.