Code Tools - Formatter / Generator / Config
29 toolsOnline code tools: Prettier multi-language formatter, JSON to TypeScript/Go/Java, Dockerfile/Gitignore generator, Flexbox/Grid/CSS gradient generators.
Format & Minify7
Code Formatter
Online code formatter powered by Prettier. Supports JavaScript, HTML, CSS, SQL formatting and safe minification. Protects string literals from being broken.
SQL Formatter
Online SQL formatting tool: supports MySQL, PostgreSQL, SQLite, BigQuery dialects. Uppercase/lowercase keywords, configurable indentation. Format or minify SQL statements instantly.
HTML Formatter
Free online HTML formatter supporting beautify and minify, with adjustable indent size and options to keep comments and blank lines.
HTML Minifier
Online HTML minification and formatting tool: compress by removing comments and whitespace, or format with proper indentation. Preserves script/style tag contents.
CSS Minifier
Online CSS minification and formatting tool: compress by removing comments and whitespace, or format with proper layout. Protects string literals.
CSS Unit Converter
Free online CSS unit converter supporting px, rem, em, pt, and vw with customizable root font size and viewport width. Processed locally, no uploads.
JS Minifier
Online JavaScript minify and format: strip comments, optionally drop console/debugger, compact punctuation; protects strings and regex; shows char/UTF-8 size delta. Runs locally.
Code Generation10
JSON to TypeScript
Free online JSON to TypeScript interface tool, auto-generate interface and type, supports nested objects and arrays
JSON to Go Struct
Free online JSON to Go Struct tool. Auto-generate struct definitions with json tag and omitempty support.
JSON to Java Class
Free online JSON to Java Class tool. Auto-generate POJO classes with getter/setter/Lombok/Jackson annotation support.
Java to JSON
Free online Java to JSON converter: paste Java objects or getters/setters and get JSON instantly. Browser-local processing, your code never leaves the machine.
Mock Data Generator
Free online mock data generator with 28 data types, JSON/CSV/TSV/YAML formats, batch generate test data
China Test Data Generator
Generate format-valid synthetic China ID numbers, Unified Social Credit Codes, phones, bank cards, plates, and VINs for QA. Random, checksum-passing, local-only — not for impersonation.
MRZ Parser
Parse TD1/TD3 machine-readable zones (passports and travel documents): document number, names, birth date, expiry, and per-field check-digit verification. Local-only.
SQL Table Generator
Free online SQL CREATE TABLE statement generator with visual table structure design, supporting MySQL, PostgreSQL, and SQLite.
cURL to Code
Free online tool to convert cURL commands to HTTP request code in JavaScript (Fetch/Axios), Python (requests), Java, Go, and more. One-click conversion for quick integration.
HTML to JSX
Convert HTML to React JSX online. Automatically handles className, htmlFor, camelCase attributes, style objects, events, comments, and self-closing tags. Free, no login, local processing.
Config & Style6
Dockerfile Generator
Free online Dockerfile generator. Multi-language base images, multi-stage builds, health checks, and COPY instructions. Generate production-ready Dockerfiles instantly.
docker run to Compose
Convert docker run commands into docker-compose.yml instantly: ports, volumes, env vars, restart policies and networks mapped automatically, with multi-line and --flag=value support. Runs entirely in your browser.
XML Formatter
Online XML formatter and minifier: pretty indentation or single-line compression, precise syntax error hints, attribute preservation and escaping. Local processing.
.gitignore Generator
Free online .gitignore generator supporting 20+ languages/frameworks/IDEs. Generate ignore file configurations in one click.
CSS Flexbox Generator
Free online CSS Flexbox generator with visual flex layout property adjustment, real-time preview, and one-click CSS code copying
CSS Grid Generator
Free online CSS Grid generator with visual grid layout adjustment, custom row/column gaps, real-time preview, and one-click code copying
Cheatsheets6
Git Cheatsheet
Handy Git Cheatsheet for developers: covers basic operations, branch management, remote collaboration, and undo/revert scenarios. Searchable and categorized for quick reference. All local processing.
Docker Cheatsheet
Handy Docker Cheatsheet for developers: covers image management, container operations, networks and volumes, and Compose. Searchable and categorized for quick reference. All local processing.
Linux Commands Cheatsheet
Handy Linux Commands Cheatsheet for developers: covers file operations, text processing, process management, and network troubleshooting. Searchable and categorized for quick reference. All local processing.
chmod Calculator
Online chmod calculator: toggle the rwx permission matrix to get the octal (755), symbolic (rwxr-xr-x) form and the chmod command instantly; or type 755 / rwxr-xr-x to reverse-lookup. Includes setuid/setgid/sticky bits and common permission presets.
SQL Cheatsheet
Handy SQL Cheatsheet for developers: covers queries, aggregations, joins, subqueries, and window functions. Searchable and categorized for quick reference. All local processing.
Regex Cheatsheet
Handy Regex Cheatsheet for developers: covers metacharacters, quantifiers, groups, lookarounds, and common patterns. Searchable and categorized for quick reference. All local processing.