Paste a JSON object to automatically generate TypeScript interfaces with nested types.
interface Address {
street: string;
city: string;
}
interface Root {
id: number;
name: string;
email: string;
active: boolean;
score: unknown | null;
address: Address;
tags: (string)[];
}Paste JSON to pretty-print, validate, minify, and explore. Click any node in the tree view to copy its JSONPath expression — perfect for building API queries.
Paste a cURL command and instantly get the equivalent code in Python, JavaScript, Go, PHP, and more. Perfect for converting browser DevTools requests into production code.
Reformat and colorize your code using Prettier and react-syntax-highlighter. Easily convert messy code into a clean, readable format with syntax highlighting.
Turn any code snippet into a beautiful, shareable screenshot. Choose from popular syntax themes, select your language, adjust padding and background, then export as a high-quality PNG — no Carbon account required.