The language excludes diplomats, foreign soldiers on US soil while they're fighting a war with the US, and (given the context of when the amendment was passed) Native Americans who hadn't yet been told that they were subjects of the US.
Does a baby born in the US get citizenship?
Yes, under current law, almost every baby born in the United States or its territories automatically becomes a US citizen at birth, regardless of the parents’ immigration status, except for certain children of foreign diplomats or enemy forces in hostile occupation.
That said, upthread you claimed:
> this is only true if your parents were citizens
And now you claim something about illegal aliens. There's a whole range of circumstances, some of which would have been uncontemplatable at the time of the 14th ammendment. If you are born in the US. You claim citizenship only if parentS are citizens. But if only one parent is a citizen, or both parents are permanent residents, or the parents are authorized visitors. For the historically impossible situation, what if the child is carried by a surrogate with authorized presence and the parents are non-citizens not present at birth ... that child is a US citizen by birth, and not included in your statement above.