The identification of malicious Uniform Resource Locators (URLs) plays a pivotal role in strengthening network and cyber security. Over the years, the Internet has increasingly become a breeding ground for a multitude of cybercrimes. Malicious URLs can disrupt network performance, compromise data integrity, and introduce vulnerabilities into the system, impacting the network’s overall security and reliability. Taking precautions and implementing preventative techniques is crucial for shielding users from cyberattacks. This study utilizes meta-learning, which is a machine learning technique that learns from the predictions of other machine learning algorithms to make better decisions. For a comprehensive evaluation, the ISCX-URL-2016 dataset was utilized, a resource curated by the Canadian Institute for Cyber Security. The proposed approach focuses on utilizing URL strings as the primary source of information for detecting malicious content.The performance of different machine learning algorithms, including Histogram-based Gradient Boosting Classification Tree, XGBoost Classifier, CatBoost Classifier, Random Forest Classifier and more, were compared for the detection of malicious URLs. The two best performing base classifiers were identified and evaluated as potential meta-classifiers. Various combinations of base classifiers were then tested in conjunction with these two selected meta-classifiers. A significant improvement in the accuracy was observed and the best accuracy of 98.25% was achieved using All Base Classifiers + Meta Classifier XGBoost. Closely followed by the Three Best Base Classifiers + Meta Classifier XGBoost, which achieved an accuracy of 98.2%.