If you want to come to the UK to get married or register a civil partnership, and you and your partner intend to leave the country within 6 months, you can apply for a visa as a visitor for marriage or civil partnership.
If you want to live in the UK after your marriage or civil partnership ceremony, you cannot come here as a visitor
You must produce evidence, if asked, of the arrangements for your wedding or civil partnership ceremony in the UK.
You must also be able to show that, during your visit, you do not intend to:
Take paid or unpaid employment, produce goods or provide services, including the selling of goods or services directly to members of the public;
You will be able to marry or register a civil partnership in any location licensed for this purpose.
You should provide documents to show that you meet the above requirements.