Spaces between words developed gradually rather than being invented at one particular moment. Many ancient Greek and Latin texts were written with words running together, a style known as scriptio continua. Readers learned to identify word boundaries from context, while some inscriptions used dots or other marks as separators.
Why early writing often had no spaces
Writing materials could be costly or laborious to prepare, and trained readers were accustomed to reading continuous text. In some settings, writing without spaces also made efficient use of a line or surface. Word boundaries were not always marked consistently, though: spacing and separator marks varied by language, period, and purpose.
How regular word spacing spread
More systematic spacing became important in early medieval manuscripts, particularly in Ireland around the seventh and eighth centuries. Scribes copying Latin texts used spaces to make unfamiliar language easier to read. This practice spread to mainland Europe and became more established through the manuscript traditions of the Carolingian period.
Spaces were not the only aid to reading. Punctuation, capital letters, and changes in layout also helped readers make sense of a text. Over time, word spacing became a standard feature of writing in many languages, though its rules still differ across writing systems.