Basel can be reached by train, car and plane through the nearby EuroAirport.
Train stations in Basel
The main train station is 'Basel SBB'. This is the hub for most public transport. There are train services to many destinations, including Paris and Germany. There's also a rail station 'Basel Bad Bf' in the north of the town. This is the border station to Germany.
Trams and buses
Basel has an extensive network of trams, reaching out to villages outside of the city as well. Additionally there are several bus lines. The town center can be reached on foot from Basel SBB in 15 minutes. The center is compact enough to explore on foot.
Free public transport & BaselCard
You will get a free BaselCard when you check-in to a hotel in Basel. It offers discounts on local attractions. The card also serves as a "Mobility Ticket", allowing you to use unlimited public transportation in the city. The transfer to the airport is included too. If your hotel reservation is marked "Mobility Ticket", you can use your reservation to travel from the airport to Basel.
The Swiss Travel Pass and several other rail passes cover not only that trip and other trips in Basel, but also public transportation throughout the country.