Case Conversion Utilities

To Screaming Snake Case

Converts any text to SCREAMING_SNAKE_CASE format, transforming spaces, hyphens, and camelCase into uppercase words separated by underscores. Use via MCP in Cursor or Windsurf, or call GET /v1/case/screaming-snake directly. Perfect for environment variables, constants, and database column names that follow uppercase naming conventions.

API Endpoint

GET /v1/case/screaming-snake

Code Examples

curl "https://tinyfn.io/v1/case/screaming-snake" \
  -H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/case/screaming-snake', {
  headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests

response = requests.get('https://tinyfn.io/v1/case/screaming-snake',
    headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)

Use via MCP

Add to your AI agent

Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's case conversion tools:

{
  "mcpServers": {
    "tinyfn-case": {
      "url": "https://tinyfn.io/mcp/case",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Learn more about MCP setup →

FAQ

How does screaming snake case differ from regular snake_case?

SCREAMING_SNAKE_CASE uses ALL UPPERCASE letters with underscores, while snake_case uses lowercase. Both separate words with underscores, but screaming snake case is typically used for constants and environment variables.

What input formats can be converted to SCREAMING_SNAKE_CASE?

Converts camelCase, PascalCase, kebab-case, regular spaces, and mixed formats. For example: 'myVariableName' becomes 'MY_VARIABLE_NAME', 'api-key-value' becomes 'API_KEY_VALUE'.

Can I use this MCP tool to batch convert variable names in my code?

Yes, AI agents like Claude Code and Cursor can use this tool to convert multiple variable names at once. Especially useful when refactoring code to follow screaming snake case conventions for constants.

How are numbers and special characters handled in the conversion?

Numbers are preserved in their original positions. Special characters (except hyphens and underscores) are typically removed or converted to underscores, depending on context.

What's the REST API format for converting text to screaming snake case?

Send a GET request to /v1/case/screaming-snake with your text as a parameter. The API returns the converted SCREAMING_SNAKE_CASE string in the response.

Try To Screaming Snake Case Now

Get your free API key and start using To Screaming Snake Case in seconds.

Get Free API Key