Case Conversion Utilities

To Sentence Case

Converts text to proper sentence case where only the first letter is capitalized and the rest are lowercase. Access via MCP in Cursor or Windsurf, or call GET /v1/case/sentence with your text. Perfect for normalizing user input or preparing content for display. Handles multi-sentence strings by capitalizing each sentence's first letter.

API Endpoint

GET /v1/case/sentence

Code Examples

curl "https://tinyfn.io/v1/case/sentence" \
  -H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/case/sentence', {
  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/sentence',
    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 sentence case differ from title case?

Sentence case capitalizes only the first letter of each sentence, while title case capitalizes the first letter of most words. 'hello world. how are you?' becomes 'Hello world. How are you?' in sentence case.

Can I use this MCP tool to format user comments in my app?

Yes, it's ideal for normalizing user-generated content. Your AI agent can process comments through sentence case conversion to ensure consistent formatting before storing or displaying them.

What happens with abbreviations like USA or API?

The tool converts everything to lowercase except sentence starters, so 'USA API documentation' becomes 'Usa api documentation'. Consider this when processing technical content with acronyms.

Does it handle multiple sentences in one request?

Yes, it processes the entire text and capitalizes the first letter after sentence-ending punctuation (periods, exclamation marks, question marks).

How do I call this via REST API?

Send a GET request to /v1/case/sentence with your text as a query parameter. The response returns the sentence-cased version of your input string.

Try To Sentence Case Now

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

Get Free API Key