About
Share code without the fuss
THE BIN is a simple place to share snippets. Paste some code, save it, and send the link. No account needed.

How it works
- 1
Paste
Drop in some code or text, or upload an image.
- 2
Pick a language
Choose from 50 languages for syntax highlighting.
- 3
Save and share
You get a short link you can send to anyone.
Features
Everything you need to share a snippet, nothing you don't.
50 languages
Syntax highlighting for JavaScript, Python, Go, Rust, SQL and more, plus a Markdown preview.
Image sharing
Upload PNG, JPEG, GIF or WebP images, or paste one straight into the editor.
Copy and raw view
Copy the link or the code in one click, or open the plain text.
Your own dashboard
Search, sort and clean up your bins, see view counts and manage API keys.
Account control
Reset a forgotten password, change your email and sign out devices you do not use.
Line links
Click a line number to share a link that jumps straight to that line.
Private and password bins
Share by link, protect a bin with a password, or keep it just for yourself.
Expiring bins
Delete a bin after a set time, or the first time someone opens it.
Embeds and QR codes
Embed bins on other sites, or scan a QR code to open one on your phone.
Simple API
Create and read bins from scripts with a small JSON API.
Sign in your way
Use an email and password, or your company login if available.
Light and dark
Follows your system theme, or switch it yourself at any time.
Supported languages
Limits
Set by the site admin to keep things fast and fair.
512 KB
per text bin
2.0 MB
per image
20
new bins per minute
Questions
Who can see my bin?
By default, anyone who has the link. You can also protect a bin with a password or make it visible only to you. Bins are never listed publicly and search engines are asked not to index them.
Do I need an account?
No. Anyone can create a bin, but bins made without an account cannot be changed and are deleted after one week. With an account you can keep, find, edit and delete your bins.
How long are bins kept?
Bins made without an account are deleted after one week. Bins made while signed in stay until you or a site admin delete them, unless you choose an expiry time or burn after reading.
I forgot my password. What now?
Use "Forgot password?" on the sign in page. If the site cannot send emails, ask a site admin for a one-time reset link.
What images can I upload?
PNG, JPEG, GIF and WebP images up to 2.0 MB. Other file types are refused.
Can I use it from my own scripts?
Yes. The API lets you create and read bins with a single request, and an API key from your dashboard makes the bins yours. See the API page for examples in cURL, JavaScript and Python.
Open source
THE BIN is open source. Read the code, report a bug or suggest a feature on GitHub.
SirBlobby/pastebinReady to paste?
It only takes a few seconds.