Amanda Mathewson, 55, entered the plea at Kirkcaldy Sheriff Court on Tuesday. The court heard she had 27 children in her home at the time of her arrest, 19 more than she was licensed to look after.
Mathewson, who has been a self-employed childminder for 30 years, was arrested by police following allegations of cruelty towards children. She had provided childcare services at her home in Dunfermline for children under the age of 16. At the time of her arrest she had 15 children aged under 12, 10 children under primary school age and two children under the age of one in her care.
The offending took place at a number of locations in Dunfermline and elsewhere in Fife.
Procurator fiscal Vicki Bell told the court the case came to light when two parents became suspicious after being informed their children were not present while Mathewson carried out a school run. They secretly went to the school and found their children were not with the childminder, despite being in her care.
They then went to her home, where they heard a "child screaming" and found five unattended children in the garden. One of the children told the witnesses there were no adults inside, and that Mathewson had told them to "wait in the garden".
When the witnesses approached the door to check whether any adults were present, they heard another child "screaming hysterically" inside. The door was unlocked, and upon entering they found a child crying under the kitchen table. A further nine children, all under five, were found in an upstairs bedroom, two of them strapped into prams. The children were said to be "distressed" but uninjured.
Police attended, and Mathewson said the children had been left alone for at least 30 minutes. The court heard ring doorbell footage showed this was the second time that day the children had been left inside the house.
During the police investigation, various children told their parents that being left alone in Mathewson's home was "commonplace". Some parents told officers their children became "upset" when taken to the childminder's home, and those who could talk would say they did not want to go.
The investigation found discrepancies between the number of children in Mathewson's care and the number she was seen with on multiple occasions. For example, she attended a church Christmas party with three children despite having nine in her care that day, and on other occasions such as a sports day and a visit to Dunfermline fire station she was seen with fewer children than she was responsible for.