beinahe
almost
Expresses that something nearly or by a hair's breadth would have happened, but ultimately did not occur. Synonymous with 'fast' (almost).
Ich habe den Bus beinahe verpasst.
I almost missed the bus.

almost
Loading your saved state.
almost
Expresses that something nearly or by a hair's breadth would have happened, but ultimately did not occur. Synonymous with 'fast' (almost).
Ich habe den Bus beinahe verpasst.
I almost missed the bus.

The word 'beinahe' (almost) is made up of the words 'bei' (by/near) and 'nahe' (near). So it literally describes a state that was very close to an outcome but did not reach it.
Wir wären beinahe zu spät gekommen.
We almost arrived too late.
'Beinahe' (almost) is an adverb and does not change the word order in a main clause when it stands in the middle of the sentence. But if it stands in position 1, the verb follows in position 2.
Er hat sein Handy beinahe im Zug liegen lassen.
He almost left his phone on the train.
The most important aspect of 'beinahe' (almost) is that the event described did not happen in the end. The sentence 'Er hat den Rekord beinahe gebrochen' (He almost broke the record) means that the record still stands.
Das Glas ist mir beinahe heruntergefallen, aber ich konnte es noch fangen.
I almost dropped the glass, but I was still able to catch it.
almost
'fast' and 'beinahe' have very similar meanings: something was close to being true or happening, but not quite. In many sentences, you can swap the two words. 'fast' is especially common and neutral in everyday language. 'beinahe' sometimes sounds a little stronger, especially when something narrowly did not happen. For an accident or mistake, 'beinahe' therefore sounds very natural, but 'fast' would usually also be correct.

Auf dem nassen Weg seid ihr beinahe ausgerutscht.
On the wet path, you almost slipped.
Der Lehrer vergisst fast seine Tasche im Supermarkt.
The teacher almost forgets his bag at the supermarket.