Code
Everyday source-code chores: formatting, minifying, escaping, and converting snippets between languages and notations. The tools run entirely client-side, so proprietary code never leaves your browser.
- JSON to TypeScript ConverterGenerate TypeScript interfaces or type aliases from a JSON sample, with optional fields inferred from arrays.
- JSON to Zod Schema ConverterGenerate a Zod schema and its inferred TypeScript type from a JSON sample, entirely in your browser.
- JSON to Go Struct ConverterGenerate Go structs with json tags from a JSON sample, with a package name and omitempty option.
- JSON to Rust Struct ConverterGenerate Rust structs with serde derives from a JSON sample, with visibility and derive options.
- JSON to Java Class ConverterGenerate Java classes from a JSON sample, with package, collection type, and Lombok options.
- JSON to Kotlin Data Class ConverterGenerate Kotlin data classes from a JSON sample for kotlinx.serialization, Jackson, or Klaxon.
- JSON to C# Class ConverterGenerate C# classes from a JSON sample for System.Text.Json or Newtonsoft.Json, with namespace options.
- JSON to Swift Codable ConverterGenerate Swift Codable structs or classes from a JSON sample, with access level and CodingKeys options.
- JSON to Dart Class ConverterGenerate Dart classes from a JSON sample, with final fields, required parameters, and copyWith.
- JSON to Python Class ConverterGenerate Python dataclasses or Pydantic models with type hints from a JSON sample.
- JSON to PHP Array ConverterConvert JSON to a PHP array literal in short or array() syntax, optionally as a return statement or $data assignment.
- JSON to JavaScript Object ConverterConvert JSON to a JavaScript object literal with unquoted keys, your quote style, and an export wrapper.
- JSON to GraphQL Types ConverterInfer GraphQL SDL type definitions from a JSON sample, with nullability, lists, Int vs Float, and ID detection.