How the hash is made
Gravatar trims surrounding whitespace and lowercases the email, then hashes it. The original service uses MD5; the newer REST API uses SHA-256. Both are shown — most avatar URLs still use the MD5 form.
The URL options
Size (s=) sets the pixel dimensions (1–2048). Default (d=) picks the fallback when someone has no Gravatar — a generated icon set, a blank pixel, or 404 to return no image. Rating (r=) caps the maximum content rating served.
Privacy
The email is normalized and hashed with crypto.subtle and a small MD5 routine entirely in your browser — it is never uploaded. Only when you click Show avatar preview does the hash go to gravatar.com to fetch the picture. Need a raw MD5/SHA of arbitrary text instead? Use the Hash generator.