Converts any text format to dot.case notation where words are separated by periods. Use via MCP in Cursor/Claude Code or REST at GET /v1/case/dot. Perfect for file extensions, namespaces, or configuration keys. Handles mixed cases, spaces, and special characters deterministically.
curl "https://tinyfn.io/v1/case/dot" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/case/dot', {
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/dot',
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"
}
}
}
}
It normalizes any input (camelCase, snake_case, kebab-case, spaces) into lowercase words separated by dots: 'getUserName' becomes 'get.user.name'.
Yes, AI agents in Windsurf or Cline can call this tool repeatedly to convert filenames to dot notation for consistent naming schemes.
Special characters are removed, numbers are preserved, and consecutive separators collapse to single dots: 'API-v2_test!' becomes 'api.v2.test'.
No, it converts everything to lowercase for consistency: 'XMLHttpRequest' becomes 'xml.http.request', not 'XML.Http.Request'.
Dot case is specifically for hierarchical naming (config.database.host) while snake_case uses underscores and kebab-case uses hyphens.