Paste or type to begin

Original on the left, modified on the right.

Compare two TypeScript files

Compare TypeScript code with full type-annotation highlighting and Prettier auto-formatting. Supports interfaces, generics, enums, and all TypeScript features. Ideal for reviewing type changes, refactors, and version upgrades.

Features

Frequently asked questions

Does it understand TypeScript types?
Yes — interfaces, type aliases, generics, enums, and decorators are all syntax-highlighted.
Can I compare .tsx files?
Yes. TypeScript with JSX is fully supported.
Does it format TypeScript?
Yes — Prettier formats TypeScript including type annotations, preserving correct syntax.

More diff tools