Case Converter

Convert text between different cases.

Input Text
All examples use BASE_URL — set it to your deployment URL.
POST/api/text/case
Convert text to all case variations at once.
const BASE_URL = "http://localhost:3000"; const res = await fetch(`${BASE_URL}/api/text/case`, { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ text: "Hello World Example" }) }); const data = await res.json(); // → { success: true, uppercase: "HELLO WORLD EXAMPLE", // lowercase: "hello world example", titleCase: "Hello World Example", // camelCase: "helloWorldExample", snakeCase: "hello_world_example", // kebabCase: "hello-world-example", dotCase: "hello.world.example", // reversed: "elpmaxE dlroW olleH" }