There is no shortcut button for Hyper Sonic. The intended route is to collect all seven Chaos Emeralds by clearing the special stages, then grab fifty rings so the transformation triggers.
You will find plenty of websites promising instant unlocks, and some of them host cheat codes or save editors. Be careful with those: many are outdated, and some bundle unwanted software. Working through the special stages is slower, but it is the only method that does not put your game or your computer at risk.