Converts any text to path-case format where words are lowercase and separated by forward slashes. Access via MCP in Cursor or Windsurf, or call GET /v1/case/path directly. Perfect for URL paths, file structures, and routing. Input "Hello World Example" returns "hello/world/example" — deterministic conversion handles spaces, punctuation, and mixed cases consistently.
curl "https://tinyfn.io/v1/case/path" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/case/path', {
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/path',
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"
}
}
}
}
Path case uses forward slashes to separate lowercase words, like 'user/profile/settings'. It's ideal for URL routing, file paths, and API endpoints where hierarchical structure matters.
Special characters are removed, numbers are preserved, and multiple separators collapse to single slashes. '[email protected]' becomes 'api/v2/user/domain/com'.
Yes, MCP integration lets Claude Code, Cursor, and other AI tools convert variable names or descriptions directly to valid path formats during development.
Unlike kebab-case (hyphens) or snake_case (underscores), path case uses forward slashes to create hierarchical structures suitable for URLs and file systems.
Yes, it properly handles Unicode characters by converting them to lowercase and preserving valid path characters while removing problematic symbols.
Get your free API key and start using To Path Case in seconds.
Get Free API Key