It's one of those details the games themselves never spell out. Ellie is introduced, and simply stays Ellie, through both the main entries and the DLC that surrounds her story.
That said, a surname does circulate among fans. You may have run into the claim that it's Williams, and while it turns up often enough in discussions and fan wikis, it isn't something confirmed by Naughty Dog or by anything said on screen.
So the honest answer: as far as official material goes, Ellie has no established last name. Treat "Williams" as fan territory rather than canon.