A runner for browser TypeScript
TSBin is built for TypeScript snippets that need a page, a stylesheet, and real browser APIs, not just an isolated function box.
Write TypeScript, add supporting HTML and CSS, and see browser output quickly. TSBin keeps the runner local-first, fast, and ready to export.
Built for the in-between work
TSBin is built for TypeScript snippets that need a page, a stylesheet, and real browser APIs, not just an isolated function box.
Open the editor, change a file, and run the preview. The workspace is useful for examples, bug reproductions, and typed UI ideas before they need a repo.
Saved projects keep their document formats in browser storage, and exports package your workspace as files you can keep or move into a larger project.
Concrete browser-editor features, not a social feed or a heavy project scaffold.
Small saved snippets refresh in under 50ms on the warm preview path.
TypeScript diagnostics and editor feedback appear while you work.
Saved projects stay in browser storage and reopen without account setup.
Export the workspace as a zip with HTML, CSS, JavaScript, TypeScript, and JSON files preserved.
Your projects are saved in your browser's local IndexedDB storage once you save or run them. Existing saved projects autosave after edits, and TSBin does not upload your code to an account.
Emmet support is available today for HTML and CSS editing. More editor helpers are planned.
Markdown support is coming soon. Today, TSBin supports HTML, CSS, JavaScript, TypeScript, and JSON project files.
Yes. TSBin is designed around local-first browser storage, so saved projects can reopen without account setup or a server round trip.
TSBin supports HTML, CSS, JavaScript, TypeScript, and JSON project files. Export keeps those document formats in a zip file.
Yes. Use File > Export Project to download the current workspace as a zip file.
Type clear() in the console and press Enter. The shorter clear command also clears the console.
Yes. Use the theme button or Settings to switch themes, or press ModShiftS to toggle between light and dark mode.
Yes. Open the keyboard shortcuts dialog from the header or press Mod/ to see the available shortcuts.
No. There is no account setup, and TSBin does not create an account for you automatically.
Open the File menu and choose Send Feedback. The form supports bug reports, feature requests, and privacy requests.
Yes. TSBin runs TypeScript alongside HTML and CSS files, so browser examples can include markup, styling, and typed behavior together.
Yes. TSBin works well for small reproductions because the editor, diagnostics, preview, and console stay in one browser tab.