What if I don't have access to my W2 forms?

I moved around a bunch of times and didn't get my W2 forms, is there a way to get them online using my social security number or something?