Skip to main content
Develop Tools

PHP Code Masking Tool

Mask and anonymize class names, function names, variable names, and values in the browser while preserving the structure of PHP code.

Font size

About this tool

Before sharing your PHP code, you can replace classes, functions, variables, values, etc. with alternative values while preserving the structure.

Features

  • General PHP 8 syntax, attributes, and namespaces
  • Masking/anonymization of classes, functions, $ variables, strings, numbers, and comments

How to use

  1. Paste the PHP 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 a PHP parser.
  • If HTML and PHP are complexly mixed, please visually check the masking results.

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