← All tools

Git Refname Validator

Check branch shorthand or full reference names and see every rule that fails.

Names to validate

One name per line; blank lines are skipped. Use Ctrl+Enter or Cmd+Enter to validate.

Branch shorthand follows git check-ref-format --branch, but previous-checkout syntax is not expanded. Full refnames require at least one slash. This checks naming syntax only, not repository state or additional rules imposed by a hosting service. No repository access, storage, uploads or network requests.