Code Formatter
Comprehensive code formatting API with 7 language-specific modular endpoints: JavaScript, TypeScript, Python (PEP 8 compliant), Java, HTML, CSS, and SQL. Features configurable indentation, line length, quote styles, keyword casing, syntax validation with error detection, and detailed code statistics. Supports code files up to 50,000 characters with multiple output formats (JSON, text, CSV).…
Code Formatter endpoints
| Method | Endpoint | Description |
|---|---|---|
| api | ||
| POST |
format-javascript /api/dev-tools/code-formatter/v1/javascript |
Format JavaScript code with configurable semicolons, quotes, and bracket spacing |
| POST |
format-typescript /api/dev-tools/code-formatter/v1/typescript |
Format TypeScript code with type annotations and interfaces support |
| POST |
format-python /api/dev-tools/code-formatter/v1/python |
Format Python code following PEP 8 style guidelines |
| POST |
format-java /api/dev-tools/code-formatter/v1/java |
Format Java code with proper class and method indentation |
| POST |
format-html /api/dev-tools/code-formatter/v1/html |
Format HTML markup with proper tag indentation and structure |
| POST |
format-css /api/dev-tools/code-formatter/v1/css |
Format CSS stylesheets with proper selector and property indentation |
| POST |
format-sql /api/dev-tools/code-formatter/v1/sql |
Format SQL queries with keyword capitalization and proper clause indentation |
| GET |
get-info /api/dev-tools/code-formatter/v1/info |
Get comprehensive API documentation including all available endpoints, parameters, and examples |
Code Formatter pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | 1000 / hour |
|
| PRO | $10 / month | 1000 / hour |
|
| ULTRA Recommended | $15 / month | 1000 / hour |
|
| MEGA | $20 / month | — |
|