Host a JavaScript file and serve it from a URL
Put a .js file at a stable address that any page can load — for shared scripts, widgets, demos and experiments.
Drop your JavaScript file here
Any other file works too — up to 25.0 MB, or 100.0 MB for a whole site
Free to use. Your JS file is live at your-name.99helpers.site in about ten seconds.
What is a .js file?
JavaScript is the programming language browsers run. A .js file holds code that a page loads and executes — anything from a small helper to an entire application.
What people use JS files for
- A shared script used across several pages
- An embeddable widget or snippet others include
- Code for a demo or prototype
- A library build you want to link rather than bundle
What opens a JS file
- Every web browser
- Node.js, for server-side JavaScript
- VS Code and any editor
How to host a JS file
- 1
Drop your JS file in
Drag it onto the box at the top of this page, or click to choose it. Files up to 25 MB are supported, and nothing is uploaded until you publish.
- 2
Pick an address
Type a name and we'll tell you straight away whether it's free. That becomes the link: widget.99helpers.site
- 3
Publish and share
Create a free account — that step exists so the file is yours to update, replace or delete — and the link is live within seconds.
What happens when someone opens the link
The browser displays the source as text. Included with a script tag it executes, since the file is served with the correct JavaScript content type.
Why host a JS file instead of emailing it?
Getting a script to a URL usually means a repository, a build and a CDN. For a widget you're testing or a snippet someone else needs to include, hosting the file directly is dramatically quicker.
Worth knowing before you publish
- Anything in the file is public — never include API keys, tokens or credentials.
- If the script belongs to a page you're hosting here, upload them together as a folder so relative paths work.
- Files are cached for about an hour, so republished code takes a few minutes to reach everyone.
- Scripts that fetch data from other domains are still subject to that domain's CORS policy.
JS hosting questions
- Can I include this script on my own website?
- Yes. A <script src="…"> tag pointing at the address works — scripts aren't blocked by cross-origin rules the way fetch requests are.
- Is it safe to host a script publicly?
- The file is readable by anyone with the link, so it's fine for code you're happy to publish and wrong for anything containing secrets. Treat it exactly like code in a public repository.
- How quickly do changes take effect?
- Edge caches hold files for about an hour, so allow a few minutes after republishing, or add a version query string to the URL when you need an immediate update.
Put your JS file online now
It takes about ten seconds, and you only make an account once the file is ready to go live.