Divorce is painful, but it doesn’t have to be hard on the children. These celebrity exes have mastered the art of co-parenting and we think that they deserve all the praise they can get.

Related: 10 Common Challenging Behaviors In Children And What They Really Mean

From nasty public splits to quiet separations, these celebrity relationships feel apart at the seams, and fans mourned these break-ups. Yet, each of these exes has learned how to make their children a priority. Marriages don’t last in Hollywood but we’re happy to present this list of 10 celeb exes who totally crush co-parenting.

10 Jennifer Garner & Ben Affleck

Jennifer Garner and Ben Affleck went through a very public separation and divorce when it was discovered that Affleck had an affair with their children's nanny. It could have been a nasty split but the execs decided to play nice for their kids, Violet, Seraphina, and Samuel.

The family is often snapped by photographers spending quality time together, despite the fact that they’re divorced. It’s refreshing to see a celeb couple handle co-parenting in such a mature and healthy way. Their children will be better off because of it. Jennifer and Ben set a great example for all of us.

9 Anna Faris & Chris Pratt

The world collectively cried when Anna Faris and Chris Pratt split up. They seemed genuinely in love and appeared to have such a happy family. Despite that fact that they’re no longer a couple, the two have made raising their son Jack a priority.

Related: 10 Celeb Single Moms In Hollywood

Negotiating a divorce can be tricky but Faris admitted to Women’s Health that she and Chris reiterate that “there aren’t rules” to co-parenting. That’s such an interesting perspective to take and one that other ex-couples could benefit from hearing. Chris and Anna may no longer be a couple but it seems like they’ll always be mom and dad.

8 Kourtney Kardashian & Scott Disick

Fans of Keeping Up with the Kardashians have followed Kourtney Kardashian and Scott Disick’s tumultuous relationship over the years. The two may have broken up but they are winning when it comes to co-parenting their three children, Mason, Penelope, and Reign.

The family often go on vacations together and are photographed by the paparazzi spending time together in Los Angeles. Kourtney and Scott are so tight that they even go on holiday with the kids and his current girlfriend, Sofia Richie. It may seem unconventional, but the arrangement works for them, and the children seem totally happy.

7 Mariah Carey & Nick Cannon

Mariah Carey and Nick Cannon called off their marriage and were divorced in 2016. The exes share custody of their twins, Moroccan and Monroe. These two really know how to work as a team when it comes to being mom and dad to their kids.

RELATED: 10 Celebs Who Had Surrogate Pregnancies

The four of them spend plenty of time together and often share pics of intimate family moments on social media. So what’s their secret? According to Us Weekly, Cannon once said that the key to co-parenting with Carey is “unconditional love” for their twins and that he always wants “what’s best for his children.” Bravo to that!

6 Gwyneth Paltrow & Chris Martin

Gwyneth Paltrow and Chris Martin divorced after ten years of marriage. They faced some backlash when they announced to the world that they were practicing "conscious uncoupling." Despite the fact that the media attacked them for using that term, it really just meant that they would gently separate for their two children, Apple and Moses.

Related: 10 Ways Jodie Sweetin Parents Differently Than Candace Cameron Bure

Paltrow and Martin are another couple who take co-parenting to the next level. Paltrow even invited her ex and his girlfriend, Dakota Johnson, to join her honeymoon with her second husband, Brad Falchuk. The adults and children were snapped playing on the beach in the Hamptons.

5 Jennifer Lopez & Marc Anthony

Jennifer Lopez and Marc Anthony divorced in 2014. Despite that fact that they couldn’t make it work as a couple, the two singers have nailed it when it comes to being there for their twins, Emme and Max. They are often captured spending time as a family and seem to successfully co-parent their children.

Lopez is currently engaged to former New York Yankee, Alex Rodriguez. They are the ultimate blended family and often share photos on social media of all of their children and exes from previous marriages. They really do appear to be one, big, happy family.

4 Heidi Klum & Seal

Heidi Klum and Seal may have terminated their seven-year-marriage but the exes are totally committed to co-parenting their four children, Helene, Johan, Lou, and Henry. The supermodel and singer put their differences aside and do what’s in the best interest of their kids.

Related: 10 Ways Amy Schumer Has Inspired Moms

Klum and Seal are often spotted sitting together on the sidelines of their childrens’ soccer games. You know that the kids have to be happy about that. They also go on family vacations and spend important holidays as a family. It’s not often that you see celebrity divorced couples make co-parenting look so effortless.

3 Naomi Watts & Liev Schreiber

Another celeb couple that is crushing co-parenting are exes Naomi Watts and Liev Shreiber. They ended their marriage in 2016 but have managed to keep things civil for their two kids, Samuel and Sasha. The family of four are often snapped by the paps spending time together.

Watts opened up to PorterEdit about how she and Shreiber were doing co-parenting “very differently” and that she was “proud” of the work they do as mom and dad. We love that they are committed to being “good and kind” to each other. It’s so nice to see these two being adults about their divorce.

2 Bruce Willis & Demi Moore

Bruce Willis and Demi Moore split up in 2000 but they’ve managed to keep a civil relationship and co-parent their three daughters, Rumor, Scout, and Tallulah. They famously walked the red carpet of the movie Charlies’ Angels 2: Full Throttle along with the girls, and her second husband at the time, Ashton Kutcher.

The entire family stopped to take photos together and set a great example of what successful co-parenting looks like. Kudos to them for setting aside their differences to show their children what true support is. The girls are all grown up now and Moore and Willis still appear at events together.

1 Khloe Kardashian & Tristan Thompson

If there is one woman who would have every right to be scorned, it’s Khloe Kardashian. The Keeping Up with the Kardashians star was devastated when the news broke that her boyfriend, Tristan Thompson had cheated on her. To make matters worse, the report surfaced days before their daughter True's due date.

Kardashian set aside her feelings and allowed him to be present at the birth for the good of their little girl. She told Us Weekly that Tristan could see True “whenever he wants” and that “nothing else matters” when it comes to making your kid a priority. Go Khloe!

Next: 10 Fun Fall Family Activities