The growing accessibility of web pages to internet users, coupled with the increasing reliance on search engines for daily tasks, underscores the rising importance of search engine optimization (SEO). This research aims to explore the impact of the web visibility index, a key SEO metric, and the utilization of SEO tools on the optimization of university websites. The novelty of this study lies in its examination of the specific influence of the web visibility index and other SEO metrics on university website optimization. Findings reveal significant enhancement in the web visibility index across most universities studied. A comparative analysis of the top 20 universities and their associated libraries sheds light on the factors contributing to increased web visibility. SEO tools and the SISTRIX Toolbox were employed for comparative purposes. Results indicate that the University of UOC boasts the highest web visibility index of 0.0276, while UNED, USE, and UV universities have a web visibility index of 0, indicating the lowest visibility.