Overview
Transform is a web-based converter for code and data formats. You paste source text into an editor, pick a conversion and get the converted result to copy. The conversions are listed in groups by input format.
The list is long. JSON can be turned into TypeScript interfaces, Go structs, Rust Serde types, Kotlin, Java, Scala, GraphQL, Zod schemas, MySQL and BigQuery schemas, YAML or TOML. SVG and HTML can be converted to JSX, CSS to JavaScript objects or Tailwind, TypeScript to Flow, JSON Schema or Zod, and GraphQL schemas to typed code for several languages. There are also converters for JSON Schema, JSON-LD, Flow, Markdown, XML, YAML and TOML.
The project is open source under the MIT licence, created by Ritesh Kumar, and can be self-hosted. There are no accounts. It is aimed at developers who need a quick, one-off conversion, such as generating types from an API response or turning an SVG icon into a React component.
Categories
Features
- JSON to TypeScript, Go, Rust Serde, Kotlin, Java, Scala and Zod
- JSON to YAML, TOML, GraphQL, MySQL and BigQuery schema
- SVG to JSX or React Native, with optional SVGO optimisation
- HTML to JSX or Pug
- CSS to JavaScript objects or TailwindCSS
- TypeScript to Flow, JSON Schema, Zod or plain JavaScript
- GraphQL to TypeScript, Flow, Java and other targets
- JSON-LD, JSON Schema, XML, Markdown, YAML and TOML conversions
Privacy
See the official privacy policy. We found no privacy statement on the site; the source code is public, so the tool can be run on your own machine for sensitive input.
Pros & Cons
Pros
- Dozens of conversions behind one consistent editor
- Open source under the MIT licence and self-hostable
- No account or sign-up
Cons
- Generated types are a starting point and often need tidying by hand
- No privacy statement on the site about how pasted code is handled
- Few options for most converters
- No command-line version or API on the official site
Community Reviews (0)
No written reviews yet — be the first to rate this tool.