Both are ranked similarly.
Here’s a rundown of each from my time at both (settled at UW CS and loved the culture and ops)
UW has easier job opportunities (maybe 500 companies are competing to offer internships and jobs to 300 students, the companies have to fight to get a student). The class sizes are way smaller (most are below 80). You’re pretty much guaranteed a 6-figure job at Microsoft, Google, Amazon, or Facebook (72% of the alumni went to one within 3 years of graduation)
Berkeley has much larger classes, and a better math and physics program (if you’re into double majoring), but the CS material is pretty much the same. You have the benefit of Silicon valley too. There’s a ton of more competition for jobs and research opportunities (since there are so many students and such little space to offer each student an opportunity). If you can see yourself competing for a job and research op, then you might like it here. Unlike UW, you aren’t really “restricted” to an industry job. Startup culture is big here (not as much as Stanford though, so you’ll be competing with them.)
Both have their goods (CS program and jobs) and bads (Homeless culture at Berkeley and rain in Seattle [although from spring to early fall, it’s around 70-90 degrees a few times a week.]).
I would tour both.