SHA-1, SHA-256, SHA-384 and SHA-512 of any text.
Why no MD5?
The Web Crypto API in browsers does not support MD5.
Is the input encoded first?
Yes, as UTF-8. The same text will give the same hash as sha256sum on a UTF-8 terminal, as long as you don't include the trailing newline.
Other tools
json · base64 · url · unix · text · case · colour