Willow Smith says her parents have helped her through some ''dark times''.

The 18-year-old daughter of actors Will Smith and Jada Pinkett Smith praised her supportive parents for helping her to cope when times got tough in the past.

Speaking to Mastermind magazine, Willow said: ''The support and compassion that they pour into me always inspires me to preserve through dark times.''

Willow previously opened up about self-harming from the age of 12 following the success of her single 'Whip My Hair' but said that she stopped after reading about ''spirituality.''

She said: ''I was super young, and I had a dream, but all I really wanted to do was sing and I didn't equate that with all the business and the stress that ended up coming with it.

''I was just like, 'Whoa, this is not the life that I want.' [Cutting was] a physical release of all the intangible pain that's happening in your heart and in your mind.

''I was like: 'This is pointless - my body is a temple,' and I completely stopped. It seemed literally psychotic after a certain point because I had learned to see myself as worthy. I think by far [the hardest episode to film] would had to have been the episode where I was talking about my self-harm.

''I mean nobody wants to come out and tell the whole world about that but I felt that was very important for other girls or boys that are going through that as well for me to come out and talk about my life. But it's never easy.''

Willow also spoke about her battle with self-harm during an episode of her mother's Facebook Red Table Talk episode earlier this year.

She said at the time: ''It was after that whole 'Whip My Hair' thing and I had just stopped doing singing lessons and I was kind of just in this grey area of, 'Who am I? Do I have a purpose? Is there anything I can do besides this?' After the tour and the promotion and all of that, they wanted me to finish my album. And I was like, I'm not gonna do that. And after all of that kinda settled down and it was like a kind of lull, I was just listening to a lot of dark music. It was just so crazy and I was plunged into this black hole, and I was cutting myself.''

Her revelation shocked her mum Jada as she had no idea about her battle.

She replied: ''What? When were you cutting yourself? I didn't see that part.''