The short answer is yes, many worms infesting dogs are zoonotic, meaning they can be transmitted from animals to humans.
Can pets transfer worms?
Some pets are born with intestinal worms (transmitted from their mother while in utero or through milk). Intestinal parasites can affect your adult cat or dog, who can pick them up in unsanitary outdoor areas or from wildlife.
How likely is it to get worms from your dog?
Numerically, the odds of you or your children getting worms from your dog or cat are quite low.
Can you get worms from petting a cat?
Car World says that yes, people can get worms from cats, but getting worms just from petting is not likely. Roundworm eggs live in soil, so touching soil contaminated by roundworms (and then putting your hands in your mouth) can transmit them to you. Handling infected feces is another way they can be transmitted.
Can a dog licking you give you worms?
Parasites like hookworm, roundworm, and giardia can be passed from dog to human through licking.
More useful articles on a similar topic 👇
Can dogs saliva make humans sick?Do dogs have to eat slugs to get lungworm?