In my time, I was walking to school at the age of 7. It was about 5 km away from home.
Now for my children, I fetch them to school until the age of 14. I can see most parents will allow their kids to go school by themselves at around 8 - 9 years old.
The reason for me doing so was that the school was quite a distance away and I had the time to do so.