You could use dbpedia.
Example query to get 50 universities:
SELECT ?university
WHERE {
?university rdf:type <http://dbpedia.org/ontology/University>
} LIMIT 50
You could use it at dbpedia sparql. You could also search for generic educational institution, college, etc.
Or you could simply use wikipedia universities list
EDIT:
List of 9000 universities, included country and web. Data is easy to extract as dataset its in CSV format. Link to github project
solved Is There a Web Service for Retrieving All University Names Worldwide [closed]