Header

TypeScript

Microsoft's open source language that adds types to JavaScript, flags mistakes in your editor and compiles to plain JavaScript.

Frontend DesignFreeOpen source
Visit Site

At a glance

Checked

Pricing
  • Free: the language and compiler, Apache 2.0 licensed
From github.com/microsoft/TypeScript/blob/main/LICENSE.txt, checked 21 Nov 2026
Licence
Apache-2.0, open source
GitHub
github.com/microsoft/TypeScript111.9k stars · 14.6k forks · written in GoLatest release v7.0.2, 20 Aug 2026From GitHub, updated at every build
Made by
Microsoft
Platforms
Compiles to JavaScript for browsers, Node.js, Deno and Bun, or try it online in the Playground

What it’s good for

TypeScript extends JavaScript so that variables, function arguments and return values can carry types. You describe the shape of your data, and your editor flags mistakes such as a missing property before the code runs. The compiler then removes the types and outputs plain JavaScript that runs in the browser, on Node.js, Deno or Bun.

It suits front-end developers whose projects grow past a few files, and teams that share components. You can adopt it gradually: adding // @ts-check and JSDoc comments to a JavaScript file already turns on type checking. Most projects install it from npm as a development dependency, so each one keeps its own version, while .NET projects can use the NuGet package or the Visual Studio extension. TypeScript is made by Microsoft and is free and open source under the Apache 2.0 licence. You can try it in the online Playground without installing anything.

Alternatives to TypeScript

All Frontend Design tools

Questions

Is TypeScript free?
Yes. TypeScript is open source under the Apache 2.0 licence. You can install it from npm or try it in the Playground on the TypeScript site.
Does TypeScript run in the browser?
Not directly. TypeScript is converted to JavaScript, which runs anywhere JavaScript runs: in browsers, on Node.js, Deno and Bun.