Text Analysis

Smart Title Case

Smart title case converts text to proper title capitalization by intelligently handling articles, prepositions, and conjunctions. Access via MCP in Cursor or Windsurf, or REST at `/v1/text/title-case-smart`. Example: "the quick brown fox" becomes "The Quick Brown Fox". Follows Associated Press and Chicago Manual style rules for professional formatting.

API Endpoint

GET /v1/text/title-case-smart

Code Examples

curl "https://tinyfn.io/v1/text/title-case-smart" \
  -H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/text/title-case-smart', {
  headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests

response = requests.get('https://tinyfn.io/v1/text/title-case-smart',
    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 text analysis tools:

{
  "mcpServers": {
    "tinyfn-text": {
      "url": "https://tinyfn.io/mcp/text",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Learn more about MCP setup →

FAQ

How does smart title case differ from regular title case?

Smart title case follows style guide rules — articles like 'the', 'a', 'an' and short prepositions like 'of', 'in', 'on' stay lowercase unless they're the first or last word. Regular title case capitalizes every word.

Which style guide rules does the smart title case tool follow?

It follows Associated Press (AP) and Chicago Manual of Style conventions, keeping articles, coordinating conjunctions, and prepositions under 5 letters lowercase in the middle of titles.

Can I use smart title case in MCP-enabled editors for batch processing?

Yes, use the MCP tool in Cursor, Windsurf, or other supported editors to process multiple titles at once. The deterministic output ensures consistent formatting across all your content.

Does smart title case handle special cases like hyphenated words?

Yes, it properly capitalizes both parts of hyphenated compounds and handles edge cases like 'Co-founder' or 'Self-Driving Car' according to standard style conventions.

What happens to acronyms and proper nouns in smart title case?

Existing acronyms like 'API' and 'JSON' are preserved, and the tool respects proper nouns. However, it cannot identify unknown proper nouns from context alone.

Try Smart Title Case Now

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

Get Free API Key