Martha Payne, nine, has written the book explaining how her blog became a story around the globe, leading to five million internet hits and a U-turn by Argyll and Bute Council.
The book, NeverSeconds: The Incredible Story of Martha Payne and How She Changed The World, will be published by Glasgow firm Cargo.
Martha, whose website was endorsed by chefs including Jamie Oliver and Nick Nairn, has written the book with help from her father, David Payne.
It will include content from the blog, material from a trip to Malawi next month to see the work of her fundraising, and tips for healthy eating for children.
Each copy sold will help feed children in Malawi through a donation to the Mary's Meals charity, which provides meals to impoverished children in Africa, Asia, the Caribbean, Eastern Europe and South America.
Martha said: "It's awesome to be helping write the NeverSeconds book. Loads of things happened which aren't in the blog but we can put them in the book. Writing with dad is fun. He types faster but makes more mistakes. I am looking forward to finishing the book with our trip to Mary's Meals in Malawi."
Mark Buckland, director of Cargo publishing, said: "I was drawn to the story as it feels very much part of the Cargo ethos. We're committed to telling great stories, but helping to raise money for charity rang true with our belief that stories can change the world around us."