# Edit, format and type-check JavaScript and TypeScript

> Format, syntax-check and type-check JS, TS, JSX and TSX on your device.

Format, syntax-check and type-check JavaScript, TypeScript, JSX and TSX with the real TypeScript compiler, running on your device. Nothing is uploaded.

- Tool: [JS/TS editor](https://fixmint.cc/js-ts-editor)
- Category: [Web & developer](https://fixmint.cc/developer-tools)
- Fixes: Code has a type error
- Runs in the browser: files and text stay on the device, no sign-up, free.

## How to check and format JavaScript or TypeScript

1. Paste your code or drop a .js, .ts, .jsx or .tsx file.
2. Format it, or check its syntax and types.
3. Click a problem to jump to the line, then copy or download the file.

## Questions

### Is my code uploaded?

No. The editor and the TypeScript compiler run in your browser. The compiler is loaded from fixmint.cc, and your code stays in the tab.

### Which TypeScript version is used?

TypeScript 5.6.3, the JavaScript build of the compiler, with its standard type declarations. It loads on the first Format or Check click and stays warm for the rest of the visit.

### What is the difference between Check syntax and Check types?

Check syntax reports grammar errors only. Check types also reports type errors, such as assigning a string to a number, and lists imports it cannot find.

### Can it run my code?

No. The compiler only reads the text. Nothing is executed, logged or saved, and the page never sends your code anywhere.

## Related tools

- [Regex tester](https://fixmint.cc/regex-tester): Regex matches the wrong text
- [Compare JSON](https://fixmint.cc/compare-json): What changed in this JSON?
- [JSON Schema validator](https://fixmint.cc/json-schema-validator): Does my JSON fit this schema?
- [Accessibility checker](https://fixmint.cc/accessibility-checker): Is this page accessible?
