For visa information concerning the UAE, please consult: https://government.ae/en/information-and-services/visa-and-emirates-id/do-you-need-an-entry-permit-or-a-visa-to-enter-the-uae
If you are from one of the following European countries you can get a free 90 day tourist visa stamp in your passport after you arrive in Dubai. Which means you do not have to make arrangements for a visa before your flight. “Austria, Belgium, Bulgaria, Croatia, Cyprus, Czech Republic, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Iceland, Italy, Latvia, Liechtenstein, Lithuania, Luxembourg, Malta, Netherlands, Norway, Poland, Portugal, Romania, Seychelles, Slovakia, Slovenia, Spain, Sweden, Switzerland”
If you are from one of the following countries you get a free 30 day tourist visa stamp in your passport after you arrive in Dubai. Which also means you do not have to make arrangements for a visa before your flight. “Andorra, Australia, Brunei, Hong Kong, Ireland, Japan, Malaysia, Monaco, New Zealand, San Marino, Singapore, South Korea, United Kingdom, United States of America, Vatican City.”
People from other countries, except for Saudi Arabia and other neighbouring countries, will have to apply for a visa before they leave. This can be done online using the link and will require a sponsor like a hotel or travel agency from Dubai. All passports need to be valid for another 6 months after arrival.