Kubernetes Resource Name Sanitizer
Check Kubernetes names and clean invalid characters using DNS subdomain, DNS 1123 label or DNS 1035 label rules. Compare changes and shared suggestions.
Choose a Valid Kubernetes Name Rule
Kubernetes Resource Name Sanitizer: how to use it
- Choose the naming rule that applies to your resource. Paste one candidate name per line or load the example.
- Select Sanitize names. Compare each original and suggested name, including prefix changes, accent folding and shortening.
- Resolve shared or unavailable suggestions. Copy the list or download kubernetes-names.txt once every row has a distinct candidate.
Limits and notes
Processes up to 100 nonblank lines and 100,000 input characters locally. The three profiles check Kubernetes' generic DNS validation functions. Resource-specific naming rules, cluster feature gates and uniqueness require separate confirmation.
How your privacy works →Kubernetes Resource Name Sanitizer: common questions
When does a Kubernetes candidate keep its dots?
The DNS subdomain profile accepts dots between nonempty DNS parts. The DNS label profiles replace unsupported separators to give one label.
When can a candidate start with a digit?
The generic DNS 1123 label and DNS subdomain rules allow a leading digit. DNS 1035 requires a letter.
What happens when two names become the same?
Both rows show a shared suggestion. Adjust the original names and rerun the check to produce distinct export candidates.