Reading sketch from Arduino UNO
You can't. I'm sorry about your laptop, and about the lost code.
You could probably download the binary program that runs on the hardware.
Downloading the binary gives you the binary, not the &quot;sketch&quot; (which is the source code). It's the compiled binary. There's no way to get back to the source code but to reverse-engineer it, which is probably way, way harder than re-writing it from scratch, since you know what it was doing.
Also: software developers, and especially embedded developers like you, should be in the habit of working with source version control systems. Exactly because code gets lost, and exactly because not every code version is perfect.
It's the first thing I request any student that works for me sets up: Get git, watch the git-scm videos (DO IT NOW. It's 20 minutes of time that you will get back in less than a week if you work with code that you sometimes have to &quot;rewind&quot; to figure out how to do something right. And I bet you had to do that a couple of times, right?), and maybe read a chapter or two into the git book. Every single of my students doesn't want to do that (especially when they are under time pressure), and then regret not doing it earlier when they really have to do it. With git, and private git repos, eg. on gitlab, github, bitbucket,... you get proper source backups, and a way to rewind, try new things without having to make copies of everything, document your progress.