String Utilities

Lowercase

Converts any text string to lowercase letters. Access via MCP in Cursor or Windsurf for instant text transformation, or call GET /v1/string/lowercase as a REST API. Perfect for normalizing user input like "Hello World!" → "hello world!". Returns deterministic results every time, unlike LLM text processing which can vary.

API Endpoint

GET /v1/string/lowercase

Code Examples

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

How do I convert text to lowercase using MCP?

Call the lowercase tool through any MCP-enabled editor like Cursor or Claude Code. Pass your text as input and get the lowercased result instantly.

What's the REST API endpoint for lowercase conversion?

Use GET /v1/string/lowercase with your text as a parameter. Returns JSON with the converted lowercase string.

Does lowercase work with Unicode characters and accents?

Yes, it properly handles Unicode characters including accented letters, converting É to é, maintaining proper linguistic lowercase rules.

Why use TinyFn lowercase instead of having AI agents convert text?

AI models can inconsistently handle edge cases or add unwanted formatting. TinyFn gives deterministic, spec-compliant lowercase conversion every time.

Can I batch convert multiple strings to lowercase?

The tool processes one string at a time, but you can call it multiple times in sequence for batch operations through MCP or REST API.

Try Lowercase Now

Get your free API key and start using Lowercase in seconds.

Get Free API Key