Case Conversion Utilities

Convert All Cases

Transforms any text into 15+ case formats simultaneously — camelCase, snake_case, kebab-case, PascalCase, and more. Access via MCP in Cursor or Windsurf for instant variable naming, or call GET /v1/case/convert-all with your text. Perfect for code generation workflows where AI agents need multiple naming conventions from a single input string.

API Endpoint

GET /v1/case/convert-all

Code Examples

curl "https://tinyfn.io/v1/case/convert-all" \
  -H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/case/convert-all', {
  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/convert-all',
    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

What case formats does convert-all return?

Returns camelCase, PascalCase, snake_case, kebab-case, SCREAMING_SNAKE_CASE, Title Case, lowercase, UPPERCASE, dot.case, and several others in a single response object.

How do I use this with MCP in my AI coding assistant?

Call the convert_all_cases tool with your text string. The AI agent gets all formats instantly, perfect for generating variable names across different coding standards without multiple requests.

Can it handle special characters and numbers in the input text?

Yes, it intelligently handles spaces, punctuation, numbers, and Unicode characters. 'user-profile_2024!' becomes proper camelCase, snake_case, etc.

What's the difference between this and individual case conversion tools?

This returns all formats in one call, reducing API requests and latency. Individual tools like /v1/case/camel return only that specific format.

Is there a character limit for the input text?

Input is limited to reasonable string lengths (typically under 1000 characters) to ensure fast processing across all case formats.

Try Convert All Cases Now

Get your free API key and start using Convert All Cases in seconds.

Get Free API Key