Illustration of a Git commit hash being checked and classified as full SHA-1, SHA-256, or abbreviated

Git Commit Hash Validator

Type a commit hash to check its syntax and see whether it's a full SHA-1, a full SHA-256, or an abbreviated hash. Syntax only — there's no repository here to confirm it actually exists. Runs entirely in your browser.


💻 Show API usage examples (cURL)
curl -sS -X POST https://devops.majbase.com/git-hash-validator/api -H "Content-Type: application/json" -d '{"hash":"a1b2c3d"}'

Returns {"valid", "kind", "length", "normalized"}, or {"valid": false, "error": "..."}. kind is one of full-sha1, full-sha256, or short.

🤖 Use this API as a Claude Skill

Want an AI agent (Claude Code, claude.ai, or anything else that supports the Agent Skills format) to use this tool for you on request? Download the skill below and add it:

⬇️ Download SKILL.md · View raw