Please visit this webpage for detailed information on visa requirements. You can then use this webpage to check which type of visa will be required based on your nationality.
Please note that people who do not normally need a visitor visa (e.g. from the EU/EEA, USA, Canada, Australia or New Zealand) will now need an Electronic Travel Authorisation (ETA) to visit the UK.