What a hash function guarantees
A cryptographic hash maps input of any length to a fixed-length digest. The same input always produces the same digest, and any change to the input - one bit - produces a completely different one. That is the avalanche property, and it is what makes hashes useful for detecting change.
Three properties matter. Preimage resistance means you cannot work backwards from a digest to an input. Second preimage resistance means given one input you cannot find a different input with the same digest. Collision resistance means you cannot find any two inputs that collide. When a hash is described as broken, it usually means collision resistance has fallen while preimage resistance still holds.
Hashing is not encryption and has no inverse. There is no key and no way to decrypt a digest, because the output is shorter than the input and the information is genuinely gone. When a site claims to reverse an MD5 hash, it is looking the digest up in a precomputed table of common inputs, not inverting the function.