Code Conversion
Code conversion tools: cURL to your language of choice, JSON to TypeScript interfaces, OpenAPI to client stubs.
All Code Conversion
- cURL Converter Convert cURL commands to Python (requests/httpx), JavaScript (fetch), Go, and PHP.
- SQL Formatter Format SQL queries. Standard, T-SQL, PL/SQL, MySQL, PostgreSQL dialects.
- HTML Formatter / Beautifier Format and prettify HTML. Configurable indent, attribute wrapping.
- CSS Formatter / Beautifier Format CSS. Sort properties alphabetically, normalize colors and units.
- XML Formatter & Validator Format and validate XML. Configurable indent. Catches well-formedness errors.
- JavaScript Beautifier / Minifier Format or minify JavaScript. Handles modern syntax (ES2023+, JSX, TypeScript).
- GraphQL Query Formatter Format GraphQL queries, mutations, and SDL schemas.
- TOML ↔ JSON Converter Convert TOML to JSON and back. Useful for Cargo.toml, pyproject.toml, config files.
- Stack Trace Beautifier Format and demangle stack traces. JavaScript, Python, Java, Go.
- NPM Package Size Estimator Estimate bundled size of any npm package using bundlephobia.
- YAML to .env Converter Convert nested YAML to flat .env. UPPER_SNAKE keys with dotted-path naming.
- JWT from cURL Composer Generate a cURL command with a freshly signed JWT in the Authorization header.
- package.json Validator Validate package.json structure, required fields, common mistakes.
- cURL to Python requests Convert cURL commands specifically to Python requests / httpx code.
- cURL to JavaScript fetch Convert cURL commands specifically to JavaScript fetch() code.
- cURL to OpenAI SDK Convert OpenAI cURL examples to OpenAI Python/Node SDK code.
- cURL to Anthropic SDK Convert Anthropic cURL examples to Anthropic Python/Node SDK code.
- Tailwind Class Sorter Sort Tailwind utility classes in the canonical order (matches the official Prettier plugin).
- YAML to TOML Converter Convert YAML config to TOML and back. Useful for moving between pyproject.toml and conda env files.
- INI to JSON Converter Parse INI / config files to JSON and back. Handles sections, comments, multi-value keys.
- Java .properties to YAML Converter Convert Java / Spring .properties files to YAML (and back). Dotted keys become nested maps.
- TSV ↔ CSV Converter Convert tab-separated values to comma-separated values, with proper RFC 4180 quoting.
- JSON to Protobuf (.proto) Schema Generate a Protocol Buffers .proto schema from a JSON sample. Infers types and message shape.
- CSV Column Extractor / Reorder Pick, drop, or reorder columns in a CSV without spreadsheets. Streams large files in browser.
- CSV Deduplicator Remove duplicate rows from a CSV based on selected columns. Configurable case/trim handling.
- .env to YAML / Docker Compose Env Converter Convert .env files to YAML (Kubernetes-style env list or map) and back.
- CSS Minifier Minify CSS in your browser. Removes comments, whitespace, and shortens hex colors. Source-map friendly.
- JavaScript Minifier Minify JS / mangle identifiers in your browser using Terser. Drop console.* in production builds.
- HTML Minifier Minify HTML in your browser. Collapses whitespace, removes optional tags, inline-minifies CSS / JS.
- CSV to SQL INSERT Generator Convert CSV to INSERT statements for MySQL, Postgres, SQLite, SQL Server. Custom table / column mapping.
- SQL INSERT to JSON Converter Parse a SQL INSERT statement (or many) back into JSON rows. MySQL / Postgres / SQLite syntax.
- XML Validator (Well-Formed Check) Validate XML for well-formedness. Pinpoints line / column of any parse error.
- MongoDB Query Builder (Visual) Build MongoDB find() and aggregation pipelines visually. Generates valid query JSON.
- Redis Command Reference (Searchable) Searchable reference of 240+ Redis commands with syntax, complexity, and examples.
- Open Source License Generator (MIT, Apache, GPL, BSD) Generate a LICENSE file with your name and year. MIT, Apache 2.0, GPLv3, BSD, ISC, MPL, Unlicense.
- Conventional Commit Message Builder Build properly-formatted Conventional Commit messages with type, scope, description, body, breaking flag.
- Semver Bumper (Calculate Next Version) Calculate the next semantic version from current version + change type. Major / minor / patch / pre-release.
- Postgres EXPLAIN Output Formatter Parse Postgres EXPLAIN / EXPLAIN ANALYZE output. Highlight slow nodes, sequential scans, sort spills.
- CSV Pivot Table Builder Pivot CSV by row / column / aggregate. Sum, count, average, min, max. Browser-only, no upload.
- CSV Splitter (By Rows or Column Value) Split a large CSV into multiple files by row count or grouped by a column value. Download as ZIP.
- TAR Archive Builder (Browser-Only) Build a POSIX tar archive in your browser from drag-dropped files. Optional gzip. Useful for Docker COPY / config bundles.
- HTML Prettifier (Indent, Format) Format / beautify HTML. Configurable indent. Handles inline + block elements correctly.
- SQL Prettifier (Indent, Keywords Uppercase) Format SQL queries. Newlines before keywords, indent subqueries, uppercase keywords.
- GraphQL Query Prettifier Format GraphQL queries and schemas. Consistent indentation, field grouping.
- JSX / TSX Prettifier Format JSX / TSX. Self-closing tags, attribute wrapping, consistent indentation.
- TSV to JSON Converter Convert tab-separated values to JSON array of objects. Uses first row as headers.
- CSS Selector Tester (Live HTML Match) Test CSS selectors against any HTML snippet. Highlights matched elements live.
- XPath Tester (Live XML / HTML) Test XPath 1.0 expressions against any XML or HTML snippet. Highlights matched nodes.
- HTML Table to CSV Converter Paste HTML containing a <table>. Extract all rows as CSV. Handles colspan / rowspan / nested tables.
- HTML Table to JSON Converter Paste HTML containing a <table>. Extract as JSON array of objects, first row as keys.
- XML Prettifier (Indent + Format) Format / beautify XML. Configurable indent width. Preserves CDATA and comments.
- JSONL / NDJSON ↔ JSON Array Converter Convert between JSON Lines (NDJSON) and a JSON array. Used by streaming APIs, log files, OpenAI fine-tuning.
- Protobuf Wire Decoder Decode raw Protocol Buffers wire-format bytes from hex or base64 without a .proto — field numbers, wire types, and values.
- OpenAPI to TypeScript Generate TypeScript interfaces and types from an OpenAPI or Swagger spec — schemas, enums, $ref, allOf/oneOf, and nullable handled. JSON or YAML.
- GraphQL to TypeScript Convert a GraphQL SDL schema into TypeScript interfaces, types, and enums — objects, inputs, interfaces, unions, and scalar mapping included.
- Swagger to Postman Collection Convert an OpenAPI or Swagger spec into a Postman Collection v2.1 — requests, headers, query params, and example bodies grouped by tag.
- OpenAPI to Markdown Docs Turn an OpenAPI or Swagger spec into clean Markdown API docs — endpoints, parameters, request bodies, and response tables. JSON or YAML.
- CSV Viewer View CSV data as a sortable, filterable table — auto-detects the delimiter, handles quoted fields and embedded newlines. Runs in your browser.
- OpenAPI Diff Compare two OpenAPI or Swagger specs and classify every change as breaking, non-breaking, or informational — operations, params, responses, schemas.
- Tailwind to CSS Convert Tailwind utility classes to plain CSS — full default theme, with responsive, hover/focus and dark-mode variants expanded into media queries and pseudo-classes.
- SVG to JSX Convert SVG markup to a React JSX component — camelCases attributes, converts inline styles to objects, and wraps it as a function or arrow component.
- Bitwise Calculator Compute AND, OR, XOR, NOT, NAND, NOR, XNOR and bit shifts on 8/16/32/64-bit integers — results in binary, hex, octal and decimal. BigInt accurate.
- CSV Schema Inference Tool Infer a schema from CSV — detects column types, nullability, distinct counts and candidate keys, and exports a PostgreSQL CREATE TABLE, a TypeScript interface or a JSON Schema.
- GraphQL Schema to JSON Schema Converter Convert GraphQL SDL to JSON Schema — maps types, inputs, interfaces, enums and unions to $defs, models non-null vs nullable correctly, turns lists into arrays and lets you pick a root type.
- .env to JSON Converter Convert a .env file to JSON — strips export and comments, unquotes values, optionally coerces booleans numbers and null, lower-cases keys, and nests on double-underscore or dot.
- Parquet Viewer (Read .parquet Files) Open and inspect Apache Parquet files in your browser — schema, column types, row and row-group counts, compression codec, and a preview table of the rows. Export preview as CSV or JSON. Nothing uploaded.
- SQLite Viewer (Open .sqlite / .db Files) Open a SQLite database file in your browser — browse tables and views, inspect each table's schema, and run real SQL queries against an in-memory copy. Export query results as CSV. Nothing uploaded.
- Prisma Schema to SQL DDL Convert a Prisma schema into SQL CREATE TABLE DDL — models become tables, relations become foreign keys, enums and @unique / @@index carried over — for Postgres or MySQL.
- Prisma to Drizzle Converter Convert a Prisma schema into a Drizzle ORM TypeScript schema — tables, columns, types, relations and indexes — to migrate stacks without retyping it.
- SQL to SQLAlchemy Models Convert SQL CREATE TABLE statements into SQLAlchemy models — declarative classes with columns, types, primary and foreign keys and relationships.
- SQL to TypeORM Entities Convert SQL CREATE TABLE statements into TypeORM entities — decorated classes with @Column, @PrimaryGeneratedColumn and relations.
- SQL to Sequelize Models Convert SQL CREATE TABLE statements into Sequelize models — sequelize.define with attribute types, allowNull and keys.
- SQL to Drizzle Schema Convert SQL CREATE TABLE statements into a Drizzle ORM schema — pgTable / mysqlTable with typed columns, defaults and indexes.
- Database Connection String Parser Parse a database connection string — Postgres, MySQL, MongoDB, Redis — into host, port, user, database and every query option, and rebuild it. Done locally.
- JDBC URL Builder & Parser Build and parse a JDBC URL for Postgres, MySQL, SQL Server or Oracle — host, port, database and properties — with the right driver syntax for each.
- DATABASE_URL Splitter Split a DATABASE_URL into the discrete .env variables — DB_HOST, DB_PORT, DB_USER, DB_PASS, DB_NAME — and recombine them, for frameworks that want one or the other.
- SQL IN () Clause Builder Turn a pasted list — one per line, CSV or column — into a SQL IN (...) clause with correct quoting for strings or numbers, ready to drop into a query.
- DBML to SQL Converter Convert DBML (Database Markup Language) into SQL CREATE TABLE DDL — tables, references and indexes — for Postgres or MySQL.
- SQL to DBML Converter Convert SQL CREATE TABLE statements into DBML for dbdiagram.io — tables, columns and inferred references — to document an existing database.
- SQL to Mermaid ER Diagram Convert SQL CREATE TABLE statements into a Mermaid erDiagram — entities, attributes and relationships from the foreign keys — to drop into Markdown docs.
- SQL to JSON Schema Convert SQL CREATE TABLE statements into a JSON Schema — column types mapped, NOT NULL into required — to validate rows or generate API contracts.
- MySQL EXPLAIN Visualizer Paste MySQL EXPLAIN output (tabular or JSON) and get a readable plan — join order, access type, key used and rows examined — with the full-scan warnings highlighted.
- cURL to Go Converter Convert a cURL command into idiomatic Go using net/http — method, headers, body and query handled, with a ready-to-run http.NewRequest snippet.
- cURL to PHP Converter Turn a cURL command into PHP — native curl_* calls with options for headers, POST body, method and auth, ready to paste into any PHP project.
- cURL to Rust Converter Convert a cURL command into Rust using the reqwest crate — async client builder with headers, body and method mapped to a compilable example.
- cURL to Java Converter Convert a cURL command into Java using the java.net.http HttpClient — builder with headers, method and body, no external HTTP library required.
- cURL to C# Converter Convert a cURL command into C# using HttpClient — request message with headers, method and content body, ready for .NET projects.
- HAR to cURL Converter Paste a HAR file exported from browser DevTools and get a cURL command for every request — method, headers, cookies and post data reconstructed.
- YAML Viewer View YAML as a collapsible tree or convert it to JSON — validates syntax and handles anchors, multi-line strings and nested maps. Runs in your browser.
- TOML Viewer Read a TOML config as a collapsible tree or JSON — tables, arrays of tables, inline tables, dates and typed values, all parsed in your browser.
- XML Viewer View XML as a collapsible, highlighted tree or pretty-print the source — namespaces, attributes, CDATA and comments. Checks well-formedness in your browser.
- TSV Viewer View tab-separated data as a sortable, filterable table — optional header row, numeric-aware sorting and column counts. Runs in your browser.
- INI Viewer Read an INI, .conf or .cfg file as clean per-section key/value tables or nested JSON — handles sections, ; and # comments and quoted values. In your browser.
- Java Properties Viewer View a Java .properties file as a clean key/value table or JSON — comments, line continuations, Unicode escapes and = or : separators. In your browser.
- Plist Viewer Read an Apple XML property list as a typed, collapsible tree — dicts, arrays, dates, data and every plist type. Parsed entirely in your browser.
- GeoJSON Viewer Paste GeoJSON and see its points, lines and polygons drawn on a tile-free map, plus a feature and property breakdown. Validated in your browser.
- GPX Viewer Open a GPX file and see the track drawn with distance, elevation gain, point count and duration. Tracks, routes and waypoints, parsed in your browser.
- KML Viewer Open a KML file and see its placemarks, paths and polygons drawn on a tile-free map, with names and descriptions. Parsed entirely in your browser.
- WKT Viewer Paste Well-Known Text geometry — POINT, LINESTRING, POLYGON, the MULTI variants or a GEOMETRYCOLLECTION — and see it drawn with a structure breakdown. In your browser.
- Jupyter Notebook (.ipynb) Viewer Open a Jupyter .ipynb file and read it as a rendered notebook — Markdown, code and outputs including images and tracebacks. Parsed in your browser.
- ZIP Viewer Open a .zip archive and list every file and folder with size, compression method and date — and preview text files in place. No extraction, nothing uploaded.
- XLSX Viewer (Open Excel Files) Open an .xlsx or .xls spreadsheet and read every sheet as a clean table with formatted cells and sheet tabs. No Excel needed; nothing uploaded.
- DOCX Viewer (Open Word Files) Open a Word .docx and read it as a clean formatted page — headings, lists, tables, images and links. No Word needed; converted in your browser.
- EXIF Viewer (Photo Metadata) Open a JPEG or TIFF and read its EXIF — camera, exposure, ISO, lens, timestamps and GPS location. Check what a photo reveals before sharing. Nothing uploaded.
- Graphviz DOT Viewer Paste Graphviz DOT and see the diagram render live as SVG — the real engine via WebAssembly. Nodes, edges, clusters and styling. Nothing uploaded.
- LaTeX Math Viewer Paste LaTeX math and see it render live as typeset equations — fractions, integrals, matrices and aligned environments via KaTeX. Nothing uploaded.