Code · Made a little simpler

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.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

Kubernetes Resource Name Sanitizer: how to use it

  1. Choose the naming rule that applies to your resource. Paste one candidate name per line or load the example.
  2. Select Sanitize names. Compare each original and suggested name, including prefix changes, accent folding and shortening.
  3. 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.

Guides