Run code where it will actually behave
TSBin runs JavaScript in a browser preview, so DOM, timers, events, canvas, and layout code can be tested in their natural context.
Paste a snippet, edit supporting HTML and CSS, and run the result in a browser preview built for quick feedback.
Built for the in-between work
TSBin runs JavaScript in a browser preview, so DOM, timers, events, canvas, and layout code can be tested in their natural context.
The editor is meant for quick changes and repeated runs, with keyboard shortcuts and console output close enough for focused debugging.
When a small experiment becomes useful, export the workspace as project files and continue in the toolchain of your choice.
Concrete browser-editor features, not a social feed or a heavy project scaffold.
Run JavaScript with live DOM output and under-50ms refreshes on the warm preview path.
Inspect logs, clear output with clear(), and keep the console beside the preview.
Keep markup, styling, and JavaScript in the same browser workspace.
Use the shortcuts dialog for editor commands, theme switching, and faster navigation.
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. Open the editor and start from the default project. You can save the workspace locally only when it becomes worth keeping.
Yes. TSBin supports JavaScript and TypeScript in the same browser workspace, so you can switch as an example needs types.