Converts strings to proper title case following standard capitalization rules. Access via MCP in Cursor or Windsurf, or REST at /v1/string/title-case. Returns "hello world guide" as "Hello World Guide" — handles articles, prepositions, and conjunctions correctly. Deterministic formatting ensures consistent results across AI workflows.
curl "https://tinyfn.io/v1/string/title-case" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/string/title-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/title-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"
}
}
}
}
Capitalizes first and last words, all major words (nouns, verbs, adjectives), but keeps articles (a, an, the), short prepositions (in, on, of), and conjunctions (and, or, but) lowercase unless they're the first or last word.
Call the title-case tool through MCP in Cursor, Claude Code, or other supported editors. Pass your text string and get properly formatted title case back instantly.
Yes, it capitalizes words after hyphens and colons. "state-of-the-art system" becomes "State-of-the-Art System" and "chapter one: the beginning" becomes "Chapter One: The Beginning".
Title case capitalizes all major words ("The Quick Brown Fox") while sentence case only capitalizes the first word and proper nouns ("The quick brown fox").
The tool processes one string per request. For batch operations, make multiple API calls or use it repeatedly in your MCP workflow.