A six-year-old girl who was kept locked inside her room her whole life has been rescued by Brazilian police.

The child, who was found in a state of neglect, was removed from her parents' care after cops received an anonymous tip about her welfare, Brazilian news outlet Universo Online reports.

She never attended school, had not received any vaccinations and didn't know how to speak, prompting authorities to rescue her from her family home in the city of Sorocaba in Sao Paulo state.

Speaking about the state the six-year-old was found in, child protection counsellors Ligia Guerra said: 'The girl was very apathetic and dazzled by everything.'

She added that the child's hair was 'tangled' and looked 'as if it had never been washed'.