Katy Perry has urged all music fans to unite and love each other in the wake of the terror attack at Ariana Grande's Manchester gig on Monday.

The Firework star said she was "devastated" at the atrocity which killed 22 people, including children, and injured 59 more.

On Tuesday, Perry spoke to US radio station iHeartRadio and said that the attack put social media spats into perspective.

"I can't tell anyone else how they should feel but I just feel devastated," she said. "I think the greatest thing we can do now is just unite as people, as fan bases, all of it.

"The internet can be a little ruthless as far as fan bases go, but I think that the greatest thing we can do is just unite and love on each other, like no barriers, no borders.

"If this gets out to anyone I just want to say that I love all of you out there and I just know that some of our fan bases go both ways."

Katy Perry says all fans should unite after attack at Ariana Grande's concert

She continued: "Ari's (Ariana Grande's) fans are my fans and my fans are Ari's fans and we're just all loving on other and we should just stay loving on each other."

Following the interview, Perry broke security protocol by hugging a group of waiting fans outside the studio in a video shared by US news website TMZ.

She told her young fans: "I don't have time to do it all but I just want to give you a hug and tell you how much I love you. Will you please just tell someone that you love them today?"

The 32-year-old singers's comments come after her Carpool Karaoke appearance aired in the States, in which she addressed her long-running feud with fellow popstar Taylor Swift.

The two singers have had a frosty relationship since a row over backing dancers, which led to Swift penning the track Bad Blood

Perry told host James Corden that Swift is the cause of the feud and that she wants to bury the hatchet.

"I tried to talk to her about it and she wouldn't speak to me," Perry explained. "I do the right thing, anytime that it feels like a fumble.

"It was a full shut-down and then she writes a song about me and I'm like 'OK, cool, cool, cool. That's how you wanna deal with it?' Karma."

Katy Perry wants to heal rift with Taylor wift

She added: "I'm ready for that BS to be done. There is a situation. Honestly, it's really like she started it and it's time for her to finish it."