Case Conversion Utilities

To Title Case

Converts any text to Title Case format where each word's first letter is capitalized. Access via MCP in Cursor, Claude Code, or other AI tools using the case conversion functions, or call GET /v1/case/title directly. Example: "hello world" becomes "Hello World". Uses standard title case rules with proper handling of articles and prepositions.

API Endpoint

GET /v1/case/title

Code Examples

curl "https://tinyfn.io/v1/case/title" \
  -H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/case/title', {
  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/title',
    headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)

Use via MCP

Add to your AI agent

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"
      }
    }
  }
}

Learn more about MCP setup →

FAQ

How does title case handle articles and prepositions?

Standard title case capitalizes major words but keeps short articles (a, an, the), prepositions (of, in, to), and conjunctions lowercase unless they're the first or last word.

Can I use title case conversion in MCP-enabled editors?

Yes, use the case conversion tools in Cursor, Windsurf, or other MCP clients to transform selected text or variables to title case during development.

What's the difference between title case and proper case?

Title case follows publishing rules for headings (keeps short words lowercase), while proper case simply capitalizes every word's first letter regardless of word type.

Does title case work with hyphenated words?

Yes, each part of hyphenated words gets capitalized appropriately, so 'state-of-the-art' becomes 'State-of-the-Art' following standard title case rules.

How do I send text to the title case API endpoint?

Send a GET request to /v1/case/title with your text as a query parameter. The API returns the properly formatted title case version.

Try To Title Case Now

Get your free API key and start using To Title Case in seconds.

Get Free API Key