There is no definitive answer to this question as the legality of online dating varies from country to country. In some instances, online dating may be illegal if it involves certain activities such as prostitution or fraud. However, in most cases, online dating is not considered illegal.