C++ Code Masking Tool
Mask and anonymize class names, function names, variable names, and values in your browser while preserving C++ code structure.
Font size
Input C++ Code
0 characters
Width
Height
Masked result
Width
Height
About this tool
Before sharing C++ code, replace project-specific identifiers and values while preserving structures such as namespaces, templates, and lambda expressions.
Features
- Common C++17 and C++20 classes, namespaces, templates, and lambda expressions
- Masking/anonymization of classes, functions, variables, strings, numbers, and comments
How to use
- Paste C++ code into the input area.
- 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
- This tool does not guarantee parsing equivalent to a C++ compiler.
- Review results containing complex macros, operator overloading, or template metaprogramming manually.
Privacy: Input and results are processed in your browser and are neither sent to nor stored on the Develop Tools server.