Jennifer Garner wants her kids' privacy respected.

In an interview with InStyle, the actress and mom of three, 47, explained how she keeps her children out of the public eye.

“It’s so gnarly to be a kid now,” Garner said. “I guard my kids’ privacy as much as I possibly can, and I’ve never posted pictures of them on Instagram. I used to refuse to say their names during interviews – but everyone knows their names! I would just say ‘my eldest,’ which I still do out of habit a lot.”

She said her kids may not feel the way she does.

“I’m sure there are times my kids would really love to see themselves reflected on my social media in a fun way and to have the attention they would get from that. But I’ve fought too hard against it. It would feel hypocritical,” she said.

'I am completely changed':15 amazing, relatable quotes from celebrity moms

She also says she doesn't judge other parents who post their kids on social media.

“There’s no implied judgment of people who do put their kids up there; I just don’t think most kids have been hounded in the way that mine were when they were little," she explained. "We were completely hounded 24/7 for 10 solid years, and it changes you. You no longer take things like being able to go to your mailbox for granted. I even stopped going to the farmers market because I was being photographed there constantly. I realized, ‘I’m ruining the farmers market for everyone; this is selfish.' "

Garner shares her children with ex-husband Ben Affleck. They were married from 2005 to 2018.

More:Jennifer Garner told grads to insist on one surprising goal, above money, fame, marriage

More:Meghan Markle's Wimbledon privacy request sparks British backlash