String Utilities

Sentence Case

Converts text to proper sentence case with accurate capitalization rules. Use via MCP in Cursor or Windsurf, or call GET /v1/string/sentence-case directly. Input "HELLO WORLD. THIS IS A TEST." returns "Hello world. This is a test." — handles multiple sentences, preserves proper nouns, and follows standard grammar conventions reliably.

API Endpoint

GET /v1/string/sentence-case

Code Examples

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

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

Learn more about MCP setup →

FAQ

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

Sentence case capitalizes only the first word of each sentence and proper nouns, while title case capitalizes most words. "Hello world. This works." vs "Hello World. This Works."

How do I use sentence case conversion in my AI workflow with MCP?

Connect via MCP in Cursor or Claude Code, then ask your AI agent to convert text to sentence case. The tool handles the formatting automatically without hallucinated capitalization errors.

Does the sentence case tool preserve proper nouns and acronyms?

Yes, it maintains correct capitalization for known proper nouns, acronyms, and abbreviations while converting the rest to sentence case format.

Can I convert multiple paragraphs to sentence case at once?

Yes, the tool processes entire text blocks, handling multiple sentences and paragraphs while maintaining proper sentence boundaries and capitalization rules.

What happens to mixed case input like "hELLo WoRLD"?

The tool normalizes any mixed case input to proper sentence case, so "hELLo WoRLD. tHIS iS tEST." becomes "Hello world. This is test."

Try Sentence Case Now

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

Get Free API Key