Generate a TypeScript configuration file in seconds. Choose your compiler options below and this free tool will build a valid tsconfig.json for your project. No need to look up every flag.
TSConfig Generator
How to Use
- Select your target ECMAScript version and module system.
- Toggle strict mode and module interop as needed.
- Set the output and root directories for your project.
- Copy the generated JSON into tsconfig.json in your project root.
Key Features
- Covers essential TypeScript compiler options.
- Live JSON preview updates as you change settings.
- Valid JSON output ready to paste.
- Runs entirely in your browser.
- Free with no sign-up.
FAQs
What is tsconfig.json?
It is the configuration file for the TypeScript compiler, specifying how your code is compiled.
Should I enable strict mode?
Strict mode catches more errors at compile time and is recommended for new projects.
Where do I put the file?
Place tsconfig.json in the root of your TypeScript project.