Swift Code Masking Tool
Mask and anonymize type names, function names, variable names, and values in the browser while preserving the structure of Swift code.
Font size
About this tool
Before sharing your Swift code, you can replace project-specific information such as types, protocols, functions, properties, and values with alternative values.
Features
- Swift class, struct, enum, protocol, async syntax, raw/multiline string
- Masking/anonymization of types, functions, variables, strings, numbers, and nested comments
How to use
- Paste the Swift 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 the Swift compiler.
- Visually check the results of code that includes macros, result builders, and custom operators.
Privacy: The input contents and processing results are processed within the browser and are not sent to or saved on the Develop Tools server.