Here is a notice on the documents that will be needed in order for you to enter and stay in Sweden for a certain period of time:
Passports: passports, valid for three months after departure, are required by all except the following:
(a) 1. nationals of EU countries, provided holding a valid national ID card (for a stay of up to 3 months);
(b) 2. nationals of Denmark, Finland, Iceland and Norway holding travel documents issued for travel between these countries;
(c) nationals of Liechtenstein and Switzerland provided holding valid national ID cards (for a stay of up to 3 months).
Visas: Required by all except the following:
(a) nationals of the countries referred to in the chart above for a stay of up to 3 months;
(b) nationals of Andorra, Argentina, Bolivia, Brazil, Brunei, Bulgaria, Chile, Costa Rica, Croatia, Cyprus, Czech Republic, Dominica, Ecuador, El Salvador, Estonia, Guatemala, Honduras, Hong Kong (SAR passport holders only), Hungary, Iceland, Israel, Japan, Korea (Rep. of), Latvia, Lesotho, Liechtenstein, Lithuania, Macau (SAR passport holders only), Malawi, Malaysia, Malta, Mexico, Monaco, New Zealand, Nicaragua, Norway, Panama, Paraguay, Poland, San Marino, Singapore, Slovak Republic, Slovenia, Switzerland, Tuvalu, Uruguay, Venezuela and Zimbabwe for a stay of up to 3 months.
Note: A transit visa is always required by nationals of the following countries (if holding a visa valid for less than 3 months): Afghanistan, Bangladesh, Congo (Dem. Rep.), Eritrea, Ethiopia, Ghana, Iran, Iraq, Nigeria, Pakistan, Somalia and Sri Lanka.