Converts any text to PascalCase formatting, where each word starts with a capital letter and spaces/punctuation are removed. Access via MCP in Cursor or Windsurf, or hit GET /v1/string/pascal-case with your text. Perfect for generating class names, component identifiers, or API naming conventions. Handles edge cases like numbers, special characters, and mixed casing reliably.
curl "https://tinyfn.io/v1/string/pascal-case" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/string/pascal-case', {
headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests
response = requests.get('https://tinyfn.io/v1/string/pascal-case',
headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)
Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's string tools:
{
"mcpServers": {
"tinyfn-string": {
"url": "https://tinyfn.io/mcp/string",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}
PascalCase capitalizes the first letter (MyClassName), while camelCase keeps it lowercase (myVariableName). Both remove spaces and capitalize subsequent words.
Yes, it handles any text input including file-names.txt, api/endpoints, or 'user input' by extracting words and capitalizing each one.
Numbers are preserved as-is. 'user123 data' becomes 'User123Data', maintaining the numeric characters in their original positions.
Special characters are removed and act as word separators. 'hello-world_test!' becomes 'HelloWorldTest'.
Make separate API calls for each string, or use the MCP tool in your AI editor to process multiple conversions in one session.