Skip to main content
Develop Tools

C# Code Masking Tool

Mask and anonymize class names, method names, variable names, and values in the browser while preserving the structure of C# code.

Font size

About this tool

Before sharing C# or .NET code, you can replace project-specific identifiers and values with alternative values while preserving structure.

Features

  • C# common classes, record, LINQ, async syntax
  • Masking/anonymization of classes, methods, variables, strings, numbers, and comments

How to use

  1. Paste the C# code into the input field.
  2. Select what to mask and how to handle comments.
  3. Check and copy the masking results.
  4. You can remove masking individually by right-clicking on the target area of the masking result, and reapply by right-clicking again.

Limitations

  • It does not guarantee complete parsing equivalent to Roslyn.
  • Please visually check the source generator and unique preprocessor syntax.

Privacy: The input contents and processing results are processed within the browser and are not sent to or saved on the Develop Tools server.