Converts any text to kebab-case format where words are lowercase and separated by hyphens. Call via MCP in Cursor or Windsurf, or hit GET /v1/case/kebab with your text. Perfect for URL slugs, CSS classes, and file names. Handles mixed case, spaces, underscores, and special characters consistently.
curl "https://tinyfn.io/v1/case/kebab" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/case/kebab', {
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/kebab',
headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)
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"
}
}
}
}
Use the to_kebab_case tool in your AI editor like Cursor or Claude Code. Pass any text and get back lowercase words separated by hyphens.
Special characters are removed or converted to hyphens, numbers are preserved, and multiple consecutive separators become a single hyphen.
Yes, the tool handles camelCase, snake_case, PascalCase, and mixed formats. 'firstName' becomes 'first-name', 'user_profile' becomes 'user-profile'.
Kebab-case uses hyphens (my-variable), snake_case uses underscores (my_variable), and camelCase capitalizes words (myVariable). Kebab-case is ideal for URLs and CSS.
Yes, it intelligently splits on capital letters, spaces, underscores, and other delimiters. 'XMLHttpRequest' becomes 'xml-http-request' with proper word detection.
Get your free API key and start using To Kebab Case in seconds.
Get Free API Key