In an interview with News Corp, Barty said she is working a series of children's books, inspired by her five-year-old niece Lucy.
"Lucy was my North Star. She is the perfect age to understand stories and storylines and read chapter book," she said.
"I just love the fact she tells me what she thinks and what she feels and how she feels when she is reading a book. Being able to read it to her will be great and to go up to readings to kids in rural areas is something I want to be really hands on with."
The six-book series will be titled 'Little Ash', and will be based on the real-life experiences of Barty and her family.
They have been written with Jasmin McGaughey and illustrated by Jade Goodwin.
"This project has been so much fun and something I have always wanted to do," she said.
The series will be released on July 6.
Barty, a three-time Grand Slam champ and reigning world number one at the time of her retirement, also said she had no regrets about calling time on her career at 25 years old.
"I have spent so much time with my beautiful family and my nieces and nephew and you could not wipe that smile off my face the last few weeks," she said.