x402AgentsToolsHub

Case Converter (All 10)

Convert any text into all ten naming conventions at once: camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case, dot.case, Title Case, Sentence case, lower and UPPER — split correctly on camel humps, spaces, hyphens, underscores and dots. One call instead of ten lookups.

Worked examples

From prose

GET /api/v1/dev/case-all?text=user%20profile%20page

Result: camelCase: userProfilePage · snake_case: user_profile_page · kebab-case: user-profile-page

From camelCase

GET /api/v1/dev/case-all?text=getUserAccountId

Result: camelCase: getUserAccountId · snake_case: get_user_account_id · kebab-case: get-user-account-id

From kebab + snake mix

GET /api/v1/dev/case-all?text=order-total_due

Result: camelCase: orderTotalDue · snake_case: order_total_due · kebab-case: order-total-due

Machine API (x402)

$0.01 / 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-all?text=user%20profile%20page HTTP/1.1
Host: agentstoolshub.com

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

{
  "tool": "dev/case-all",
  "input": {"text":"user profile page"},
  "result": { "value": 3, "answer": "camelCase: userProfilePage · snake_case: user_profile_page · kebab-case: user-profile-page" }
}

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

About this tool

One input, all ten casing conventions — camelCase for JS, snake_case for Python, kebab-case for URLs, CONSTANT_CASE for env vars and the rest — with word-splitting that understands camel humps and mixed separators. Deterministic, so renames stay consistent across a codebase.

Frequently asked questions

How is word-splitting decided?

Boundaries are spaces, hyphens, underscores, dots and camel humps (including acronyms: 'parseHTTPResponse' splits as parse/HTTP/Response).

What about numbers?

Numbers attach to the preceding word: 'base64 encoder' → base64Encoder, base64_encoder. Digit-leading inputs are preserved as given.

Related tools