Text

Convert a label for code, configuration, and URLs

Turn one acronym-heavy label into names for a variable, a type, a config key, and a route segment.

Open Case Converter

Convert the same words for each destination

Suppose a feature called HTTP Server Status needs a variable name, a type, a configuration field, and a URL segment. Enter HTTPServerStatus in Case Converter and select each style below. Use this example to check how the tool separates the HTTP acronym from Server.

camelCase  httpServerStatus
PascalCase  HttpServerStatus
snake_case  http_server_status
kebab-case  http-server-status
CONSTANT  HTTP_SERVER_STATUS

Look for different labels that collapse to one name

Try HTTP Server Status and then http-server-status in snake_case. Both produce http_server_status. Check existing names before renaming several keys, and avoid bulk replacement in serialized data or public URLs without checking how callers will migrate. Check your project’s rules for acronym capitalization before copying the PascalCase result.

Apply the receiving system’s naming rules

A case conversion gives you a candidate name. Some programming languages restrict leading digits, punctuation, and reserved words. A route segment may need additional checks for uniqueness and supported characters. Use the URL Encoder when you need to preserve an existing label inside a URL value, such as a search term.

Further reading

Browse all guides · Suggest a correction