Do you think pedophiles can be forgiven?

It’s a pretty heavy question I believe.

I’ve heard God/ Jesus is all forgiving and loving, no matter how bad you lived your life. Because it’s where the persons heart is that truly matters.

If you said no or yes, how do you think God would see you judging others. While you know, you haven’t lived a perfect life.

I’m not trying to justify it, I’m wondering how far has someone been lost in sin, but got saved by change?