Will Jailbreak reset iphone passcode?

I freaking forgot my iphone passcode and was wondering if i jailbreak it will i be able to reset the passcode or how can i reset the passcode without having to hard reset it using itunes.

Jailbreak doesn't bypass the passcode. You'll need to put your iPhone in DFU mode, restore with iTunes, and go from there.

Just note that if you have Find My iPhone enabled, you'll need to log into your iCloud account when you're setting up your phone again, and that the restore will delete everything on it.

No. Try DFU mode.