Automatically upload screenshots to ImgBB and copy the image link to your clipboard. Take a screenshot with Windows Snipping Tool (Win+Shift+S), and within seconds the shareable image URL replaces your clipboard content — ready to paste anywhere.
No manual uploading. No browser tabs. Just screenshot and paste the link.
- A lightweight Python script runs silently in the background
- It monitors your clipboard for new images
- When a screenshot is detected, it uploads to ImgBB via their free API
- The clipboard is replaced with the direct image URL (e.g.
https://i.ibb.co/abc123/screenshot.png) - Just
Ctrl+Vto paste the link anywhere — Slack, Discord, GitHub, email, etc.
- Instant clipboard replacement — screenshot → image link in ~2-3 seconds
- Runs silently — no console window, no tray icon clutter
- Auto-restart on crash —
launcher.pywmonitors the uploader and restarts it automatically if it exits - Auto-start on boot — VBS startup script launches the uploader silently on login
- Duplicate detection — skips re-uploading the same screenshot (Windows Snipping Tool sometimes triggers the clipboard twice)
- Upload history — all links saved to
upload_log.jsonwith timestamps - Free hosting — uses ImgBB's free API (32 MB max per image)
- Lightweight — minimal CPU/memory usage, polls clipboard every 0.5 seconds
- 64-bit Windows compatible — proper Win32 API clipboard handling
- Go to https://api.imgbb.com
- Create an account (Google sign-in supported)
- Copy your API key from the dashboard
git clone https://github.com/mhamzahashim/imgbb-ss.git
cd imgbb-ss
pip install -r requirements.txtOpen uploader.pyw and replace the API key:
IMGBB_API_KEY = "YOUR_API_KEY_HERE"Double-click launcher.pyw — it starts the uploader silently and auto-restarts it if it ever crashes.
Or from the command line:
pythonw launcher.pyw- Press
Win+R→ typeshell:startup→ Enter - Create a file called
screenshot-uploader.vbsin the Startup folder with this content:
Set WshShell = CreateObject("WScript.Shell")
WshShell.CurrentDirectory = "C:\path\to\imgbb-ss"
WshShell.Run "pythonw ""C:\path\to\imgbb-ss\launcher.pyw""", 0, FalseReplace C:\path\to\imgbb-ss with the actual path where you cloned the repo.
The uploader will now start silently on every login and auto-restart on crash.
- Press
Win+Shift+Sto take a screenshot (or use Snipping Tool) - Wait ~2-3 seconds
- Press
Ctrl+V— the ImgBB image link is pasted instead of the image
All uploads are logged to upload_log.json:
[
{
"link": "https://i.ibb.co/abc123/screenshot.png",
"delete_url": "https://ibb.co/xyz789/delete_hash",
"at": "2025-03-14 10:30:45"
}
]| Problem | Solution |
|---|---|
| Script not detecting screenshots | Make sure pythonw is running: tasklist | findstr pythonw |
| Clipboard still has image, not link | Wait 2-3 seconds after taking the screenshot |
| Upload fails | Check your internet connection and ImgBB API key |
| Script crashes on startup | Run python uploader.pyw in a terminal to see errors |
| Script keeps crashing | Check error.log — if it crashes 5 times in 60s, the launcher backs off for 60s before retrying |
| Check logs | Look at error.log in the script directory (launcher events are prefixed with [launcher]) |
- Windows 10/11
- Python 3.8+
- Internet connection
- Pillow — clipboard image capture via
ImageGrab - requests — HTTP uploads to ImgBB API
- ctypes — native Win32 clipboard API (64-bit safe)
screenshot uploader, auto upload screenshot, clipboard to image link, imgbb uploader, windows screenshot to url, snipping tool auto upload, screenshot sharing tool, image hosting automation, clipboard image uploader, free screenshot hosting, screenshot to link, auto image upload windows, screen capture to url, imgbb api python, screenshot url generator, paste screenshot link, windows clipboard monitor, automatic screenshot sharing, image link generator, snip and share
MIT License — use it however you want.
PRs welcome. If you have ideas for improvements, open an issue or submit a pull request.