Developer Tools
Gravatar URL Generator
Generate Gravatar avatar URLs from an email address with SHA-256 or MD5 hashing, size, fallback image, and rating options. Runs in your browser.
Gravatar lowercases and trims your email before hashing. The normalized value is what the hash is computed from.
Options
Live preview
Generated URLs and snippets
Avatar URL
Enter a valid email to see the avatar URL.
HTML img tag
Enter a valid email to see the img tag.
Markdown image
Enter a valid email to see the Markdown snippet.
Profile page URL
Enter a valid email to see the profile page URL.
Profile JSON URL
Enter a valid email to see the profile JSON URL.
Hash details
Normalized email
Trimmed and lowercased before hashing
SHA-256 hash
Hash appears here
MD5 was Gravatar's original hashing scheme. SHA-256 has been the recommended algorithm since November 2023 and both continue to work for image and profile lookups.
How to use
- Paste the user's email address into the input. The tool lowercases and trims it, matching Gravatar's normalization rules.
- Pick SHA-256 (recommended, modern) or MD5 (legacy, still supported) as the hash algorithm.
- Set the size, pick a fallback image style, choose a rating filter, and toggle Force default if you want to always serve the placeholder.
- Copy the avatar URL, HTML img tag, or Markdown snippet from the output panel using the per-row Copy buttons.
- Use the profile page or profile JSON URL when you need to fetch the user's bio, name, or verified accounts from Gravatar.
About this tool
Gravatar URL Generator builds Gravatar avatar URLs from any email address using the documented Gravatar hashing rules. It trims and lowercases the email, hashes it with SHA-256 (Gravatar's recommended algorithm since November 2023) or MD5 (the original scheme that is still supported), and assembles the final URL with the parameters Gravatar accepts: image size (1 to 2048 pixels), a default image when no Gravatar is set (Mystery Person, Identicon, MonsterID, Wavatar, Retro, Robohash, Blank, 404, or a custom URL), a force-default flag, and a content rating filter (G, PG, R, X). The output panel produces the bare image URL, an HTML img tag, a Markdown image snippet, and the Gravatar profile page and profile JSON URLs that dashboards often need. A live preview renders the avatar so you can confirm the URL is right before you paste it. All hashing happens in your browser using the native Web Crypto API for SHA-256 and a self-contained RFC 1321 routine for MD5, so the email address is never uploaded.
Free to use. Works in your browser. No signup, no login.
Related tools
You may also like
MD5 Hash Generator
Compute MD5 checksums of text and files locally with hex and Base64 output.
Open tool
SecuritySHA-256 Hash Generator
Hash text or files with SHA-1, SHA-256, SHA-384, and SHA-512.
Open tool
DeveloperEmail Validator
Validate, deduplicate, and clean lists of email addresses with typo suggestions.
Open tool
GeneratorMailto Link Generator
Compose a mailto link with cc, bcc, subject, body, and copy-ready HTML and Markdown snippets.
Open tool
ImageFavicon Generator
Generate a real favicon.ico plus PNG icons from 16 to 512 px in your browser.
Open tool