A public library is a library which is accessible by the public and is often operated by civil servants and funded from public sources.
Public libraries exist in most nations of the world and are considered an essential part of having an educated and literate population. American businessman Andrew Carnegie donated the money for the building of thousands of Carnegie libraries in English-speaking countries in the late 19th and early 20th centuries.
In addition to books and periodicals, most public libraries today have a wide array of other media including CDs, software, video tapes, and DVDs and facilities to use internet.
Andrew Carnegie was a major contributor to many small-town libraries throughout the country.
Many public libraries around the world pay authors for having books in libraries. These are known as Public Lending Right programs.
The origins of the public library as a social institution have not been well explored or recorded. Many claims have been made for the title of "first public library" for various libraries in various countries, with at least some of the confusion arising from differing interpretations of what should be considered a true "public library". Difficulties in establishing what policies were in effect at different times in the history of particular libraries also adds to the confusion.
A selection of significant claims made for early libraries operating in a way at least partly analagous to the modern public library is listed below by country and then date order.
See also Public space, List of libraries