Flow to TypeScript

Best-effort conversion of common Flow syntax to TypeScript: ?Type, exact objects, $ReadOnly, $Keys, mixed, opaque types and casts.

Frequently asked questions

What is not converted?

Unnamed function-type parameters ((string) => void), object type spread ({ ...A, b: T }) and some utility types need a manual touch. The result starts with a reminder comment; run tsc to find the rest.

Is Flow to TypeScript free?

Yes. Flow to TypeScript is free to use. You get 3 free conversions a day without an account, and unlimited use when you sign in with Google.

Are my files uploaded?

No. The conversion runs inside your browser, so your files stay on your device and are never sent to our servers.

Does it work on mobile?

Yes. PixKaro works in Chrome, Safari, Edge and Firefox on Android, iPhone, Windows and Mac.