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
- Paste the C# code into the input field.
- Select what to mask and how to handle comments.
- Check and copy the masking results.
- 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.
- Manually review source-generator output and custom preprocessor syntax.
Privacy: Input and results are processed in your browser and are neither sent to nor stored on the Develop Tools server.