x402AgentTools

AaCase Converter

Convert text between nine letter cases: UPPER, lower, Title, Sentence, camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE. camelCase boundaries are split automatically.

Worked examples

"hello world" → camelCase

GET /api/v1/dev/case-converter?text=hello%20world&style=camel

Result: helloWorld

"UserProfileView" → snake_case

GET /api/v1/dev/case-converter?text=UserProfileView&style=snake

Result: user_profile_view

"the quick brown fox" → Title Case

GET /api/v1/dev/case-converter?text=the%20quick%20brown%20fox&style=title

Result: The Quick Brown Fox

Machine API (x402)

$0.001 / call

This tool is also a JSON API for AI agents. Requests without payment receive 402 Payment Required plus instructions; agents pay USDC on Base via the x402 protocol — no accounts, no API keys.

GET /api/v1/dev/case-converter?text=hello%20world&style=camel HTTP/1.1
Host: agenttools-hub.vercel.app

→ 402 (payment required, instructions in headers)
→ 200 (after X-PAYMENT header; JSON body below)

{
  "tool": "dev/case-converter",
  "input": {"text":"hello world","style":"camel"},
  "result": { "value": null, "answer": "helloWorld" }
}

Agent docs: /llms.txt · OpenAPI spec · integration guide

About this tool

One tool for every letter-case convention in programming and writing. Multi-word boundaries are detected from spaces, punctuation AND camelCase humps, so 'userProfileView' splits correctly into user_profile_view.

words = split on non-alphanumerics + camelCase boundaries · then join per target convention

Frequently asked questions

What is the difference between camelCase and PascalCase?

camelCase starts with a lowercase letter (getUserById); PascalCase capitalizes every word including the first (GetUserById).

When is CONSTANT_CASE used?

Constant names in many languages, e.g. MAX_RETRIES = 3. It is snake_case with all letters capitalized.

Related tools