Converts text to sentence case by capitalizing only the first letter and lowercasing the rest. Use via MCP in Cursor or Windsurf for text processing, or call GET /v1/case/capitalize directly. Perfect for normalizing user input or AI-generated content. Returns deterministic results unlike LLM text manipulation which can be inconsistent.
curl "https://tinyfn.io/v1/case/capitalize" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/case/capitalize', {
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/capitalize',
headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)
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"
}
}
}
}
Capitalize text only capitalizes the first letter of the entire string, while title case capitalizes the first letter of each word. 'hello world' becomes 'Hello world' (capitalize) vs 'Hello World' (title case).
Yes, it's ideal for standardizing text formatting from AI responses. Connect via MCP in Claude Code or Cline to ensure consistent sentence case output regardless of the original AI formatting.
Numbers and special characters remain unchanged. Only alphabetic characters are affected - the first letter becomes uppercase, all others become lowercase.
Empty strings return empty, leading whitespace is preserved. 'hello' becomes 'Hello', but ' hello' becomes ' Hello' with spaces intact.
Send GET request to /v1/case/capitalize with your text as a query parameter. Returns JSON with the capitalized result.
Get your free API key and start using Capitalize Text in seconds.
Get Free API Key