TypeScript Code Masking Tool
Mask and anonymize type names, function names, variable names, and values in your browser while preserving TypeScript code structure.
Font size
Input TypeScript Code
0 characters
Width
Height
Masked result
Width
Height
About this tool
Before sharing TypeScript code, replace project-specific identifiers and values while preserving structures such as types, generics, and decorators.
Features
- TypeScript and TSX interfaces, type aliases, enums, generics, and async syntax
- Masking and anonymization of types, functions, variables, strings, numbers, and comments
How to use
- Paste TypeScript 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 the TypeScript compiler.
- If the code contains complex decorators, JSX, or custom transformers, review the result manually.
Privacy: Input and results are processed in your browser and are neither sent to nor stored on the Develop Tools server.