Programming Language Tools
Format, convert, and inspect JavaScript, PHP, and Python code - plus generic code utilities and JSON-to-code converters.
23 tools in this category
All Categories
Small Utilities for Everyday Code
Not every task deserves a new dependency. These tools handle the quick jobs - tidying a snippet, testing a pattern, converting data into code - directly in your browser, so the code you paste never leaves your device.
By Language
JavaScript: tidy code with the JavaScript Formatter, test patterns with the JS Regex Tester, escape strings with JS Escape/Unescape, and explore nested data with the JS Object Viewer.
PHP: format code with the PHP Formatter, make var_dump output readable with the var_dump Formatter, decode stored values with the PHP Serialized Data Decoder, and convert between PHP arrays and JSON.
Python: use the Python Formatter, Python JSON Formatter and Python Requirements Generator.
From JSON to Code
Paste an API response and get types or literals with JSON to TypeScript, JSON to Python or JSON to JavaScript. General helpers such as the Code Line Counter and Code Comment Remover work with most languages.