Converts any text to PascalCase formatting where each word starts with a capital letter and spaces are removed. Access via MCP in Cursor or Windsurf, or call GET /v1/case/pascal with your text. Perfect for class names, component identifiers, and API naming conventions. Returns deterministic results regardless of input formatting.
curl "https://tinyfn.io/v1/case/pascal" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/case/pascal', {
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/pascal',
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 TinyFn case conversion tool in your MCP-enabled editor like Cursor or Claude Code. Pass any text and it returns proper PascalCase formatting.
PascalCase capitalizes the first letter (MyVariable), while camelCase keeps it lowercase (myVariable). Both remove spaces and capitalize subsequent words.
Yes, it processes numbers and special characters by treating them as word boundaries, so 'user-id_123' becomes 'UserId123'.
Send a GET request to /v1/case/pascal with your text parameter. Returns the converted PascalCase string.
Use PascalCase for class names, interfaces, enums, and public methods in languages like C#, Java, and TypeScript. Also common for React components and API resource names.
Get your free API key and start using To Pascal Case in seconds.
Get Free API Key