About JavaScriptConverter
JavaScriptConverter is a deterministic JavaScript-to-TypeScript conversion engine built by RichScripts Inc. We've been shipping developer tools since 2007 — rich text editors, file uploaders, JavaScript obfuscators, and live chat components used in production by thousands of teams.
What we build
JavaScriptConverter is the newest member of a small family of focused, single-purpose developer tools. Each one solves one problem completely:
- JavaScriptConverter — this site. Deterministic JS→TS, JSON→TS, TS→Zod, TS→JS.
- JavaScriptObfuscator — source code obfuscation and minification.
- RichTextEditor — cross-browser WYSIWYG component used by enterprise CMS platforms.
- AjaxUploader / ASPUploader / PHPFileUploader — file-upload components for every server stack.
- MyLiveChat — free live-chat widget.
Why deterministic instead of AI?
Every other JS-to-TS tool we've seen routes your source code through a large language model. That trades reproducibility for novelty: the same input can produce different output, types can be hallucinated, and your code leaves your machine. For toy snippets it's fine. For production codebases it's a code-review tax on every conversion.
We chose a different path. The JavaScriptConverter engine sits on top of the ts-morph wrapper around the TypeScript compiler. Every transform it performs is named, documented, and reproducible:
- CommonJS
require/module.exportsrewriting - JSDoc
@param/@returns/@typeextraction - Class-field detection from constructor assignments
- Static-member hoisting
- Accessibility inference from naming conventions
- tsconfig.json generation
- Error-suppression scaffolding
The diff stays auditable. The output is reviewable. And the free Windows desktop app runs the same engine locally — your source never leaves your machine.
Where we are
RichScripts Inc201 Consumers Rd
North York, ON, M2J 4G8
Canada
Security & responsible disclosure
We accept security reports via the contact in /.well-known/security.txt. Please give us a reasonable window to address issues before public disclosure.
Try the converter
No account required for the free tier or the desktop app.