r/browserextensions • u/No-Comment-3271 • 1h ago
Paste screenshots and other files into file upload fields
I'm currently a CS student, so that means a lot of file uploads to my university's janky website. I hated having to sort through the file picker just to attach an assignment open the next tab over. Pasteup is a Chrome extension that lets you press Cmd+V / Ctrl+V on the page instead, it finds the corresponding file box and uploads autommatically (if there are multiple it opens a picker). Moreover I added an automatic file converter, so for things like CSV, txt, and code, it automatically converts it to the right format. This means my workflow went from going to the assignment sorting through 15 finder folders and uploading to ctrl a ctrl c ctrl v.
The file converter is pretty smart, and supports a lot of formats. If the field only takes PDF or JPG, it converts the file before uploading. It also turns copied spreadsheet cells into a CSV, JSON into a .json, and Figma's "Copy as SVG" into an image.
If you're already in any text boxes or editors it does nothing. If the site handles paste itself (FilePond, chat apps), it goes first, and Pasteup does nothing.
It runs entirely locally: no servers, no analytics, no network requests, no third-party libraries. The PDF writer is about 450 lines I wrote by hand.
I'd love to hear about sites where it picks the wrong field or gets in the way or just any feedback in general!