[[quoteright:259:https://static.tvtropes.org/pmwiki/pub/images/the_library_of_babel___bookcover.jpg]]

"The Library of Babel" is a 1941 short story by Argentine writer Creator/JorgeLuisBorges.

It describes a vast library of tomes that contain all possible permutations of letters, as well as its inhabitants who try to make sense of the immense amount of unintelligible gibberish. Since the library contains every possible permutation, it must contain every conceivable book and every story that will ever be written, including every conceivable variation on said stories, and including one's own life story (and several ''untrue'' versions of the same story) as well as the answers to any and all questions. However, as this precious information is buried somewhere within the depths of the library, amid volume after volume of completely meaningless gibberish, it drives the people living in it mad.
----
!! The story provides examples of the following tropes:

* AkashicRecords: Taken to its most literal extreme. The library contains every possible arrangement of letters, spaces, and punctuation that will fit in a 410-page book[[note]]Including any 410-page excerpts from a longer work[[/note]]. Unfortunately, too much information is just as bad as no information at all.
* BookBurning: The Pilgrims destroy books by throwing down air shafts.
* UsefulNotes/{{Deism}}: The narrator readily acknowledges that a universe like his could ''only'' exist as a direct creation of some sort of Deity, but within the story itself, said Deity is nowhere to be seen.
* GoMadFromTheRevelation: The Pilgrims go insane and start destroying books and strangling others when they realize they will never find their Vindication, the book that justifies their personal existence.
* GreatBigLibraryOfEverything: Obviously.
* HandWave: Each library room is stated to have two curtains, one behind which you may "sleep standing up," and behind the other one may "satisfy [your] bodily neccesities."
* {{Infinite}}: Averted as it is explicitly stated that the library contains books of a certain format (410 pages, 40 lines on each page, 80 characters in each line with 25 available symbols (including the blank space) and every permutation thereof. While the number of permutations is mindboggingly vast (410x40x80 = 1,312,000 characters in every book, hence the number of permutations is 25^1,312,000 which is roughly 2x10^1,834.097 books; assuming standard dimensions for each book, the library is at least a million orders of magnitudes bigger than the observable universe we live in) it is not infinite. [[TakeAThirdOption Though the narrator does briefly speculate at one point that his universe might]] WrapAround.
* MindScrew: Par for the course for this author.
* MonkeysOnATypewriter: This story doesn't directly reference monkeys or typewriters, but does examine the underlying idea of meaningful language emerging from chaos. The story is set in a finite-but-still-unmeasurably-vast library, stocked with 410-page books containing every possible arrangement of letters, spaces, and punctuation that will fit. All the information in any possible world is in that Library, as is every piece of literature possible (albeit divided into 410 page excerpts)—but the books aren't arranged in any particular order, so everything worthwhile is scattered amongst books of complete gibberish, or books full of lies that look real.
* TomesOfProphecyAndFate: One is theorized to exist, but it has never been found to the narrator's knowledge. it is also theorized that a book that catalogues all other books could also exist, but that also has never been found.
* UnbuiltTrope: For GreatBigLibraryOfEverything: The library contains not only every book ever written, but every book that is ''possible'' to be written. Only, the overwhelming majority of them are complete gibberish, making the library completely useless in effect.
** This also applies to [[Creator/KurdLasswitz Kurd Laßwitz]]' short story "The Universal Library" (''Die Universalbibliothek'', 1901), on which Borges based his work, although there the Universal Library is merely discussed and analyzed as a hypothetical possibility in a conversation between a professor and his friends.
* WorldShapes: The narrator initially believes, like most people, that the Library is infinite, though he later believes the world wraps around, making it either spherical or toroid. The world itself consists of a impossibly large area of hexagonal rooms, which are either library rooms, air shafts, or staircases.
----