Host a Rust file and share it as a link
Put a .rs file at a public address that displays as readable source.
Drop your Rust file here
Any other file works too — up to 25.0 MB, or 100.0 MB for a whole site
Free to use. Your RS file is live at your-name.99helpers.site in about ten seconds.
What is a .rs file?
Rust is a systems language with memory safety enforced at compile time. A .rs file is source that compiles to a native binary or a WebAssembly module — so hosting one shares the code rather than a runnable program.
What people use RS files for
- Examples in documentation
- Snippets shared for review
- Reference implementations
- Code accompanying a blog post
What opens a RS file
- Any browser, which displays it as text
- rustc and Cargo
- VS Code with rust-analyzer, and every editor
How to host a RS file
- 1
Drop your RS 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: example.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.
The same three steps work for any file — see how file hosting works on 99helpers.com.
What happens when someone opens the link
The source displays as text. Rust compiles ahead of time, so this is code to read.
Why host a RS file instead of emailing it?
Long examples are awkward in a chat and overkill for a repository. A link keeps the formatting and can be cited from documentation.
Worth knowing before you publish
- Never include API keys, tokens or credentials — the file is public and can be indexed.
- Note the language version and any dependencies in a comment, so whoever reads it knows what it needs.
- For multiple files, upload the folder rather than each file separately.
RS hosting questions
- Will the Rust code display or download?
- It displays as text in the browser, with formatting and indentation exactly as uploaded — so people can read it before copying or running anything.
- Is it safe to host source code publicly?
- The file is readable by anyone with the link, so it's fine for code you'd put in a public repository and wrong for anything containing keys, tokens or credentials.
- Can I host a whole project?
- Yes — upload the folder rather than a single file and it publishes as a set of files, or host a .zip of the project for people to download.
Put your RS file online now
It takes about ten seconds, and you only make an account once the file is ready to go live.
Hosting guides for related formats
RS is one of over 211 formats you can host — see free file hosting for any file type for the full list, or read the hosting guides for other file types.