Tools / JSON / YAML / TypeScript
JSON ⇄ YAML ⇄ TypeScript
Paste JSON or YAML on the left and switch the right pane between JSON, YAML, and TypeScript interfaces. The input format is detected automatically, and nested objects become named interfaces you can drop straight into a .ts file.
Convert configs without leaving the page
This free converter auto-detects JSON or YAML input, then emits pretty-printed JSON, YAML, or TypeScript with a named interface per nested object. Options cover optional fields, camelCase keys, readonly properties, and indent size.
Everything runs in your browser. That matters when the payload includes API keys, connection strings, or other secrets you would not paste into a third-party website. Copy the active output or download it as .json, .yaml, or .ts.
FAQ
Is my config uploaded to a server?
No. Parsing and conversion run entirely in your browser, so you can paste secrets, tokens, or private YAML and JSON safely. Nothing ever leaves your device.