Text Case Tool

Convert text between different cases: UPPER, lower, Title, Sentence, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE. Pure Python, no API key required.

Audits

Pass

Install

openclaw skills install text-case-tool

Text Case Converter

Convert text between different case formats. Useful for programming, writing, and data transformation.

Features

  • UPPER CASE: ALL CAPS
  • lower case: all lowercase
  • Title Case: First Letter Of Each Word
  • Sentence case: First letter only
  • camelCase: firstLetterLower
  • PascalCase: FirstLetterUpper
  • snake_case: words_with_underscores
  • kebab-case: words-with-hyphens
  • CONSTANT_CASE: WORDS_WITH_UNDERSCORES

Usage

# Upper case
python3 scripts/text_case.py "hello world" --upper

# Lower case
python3 scripts/text_case.py "HELLO WORLD" --lower

# Title case
python3 scripts/text_case.py "hello world" --title

# camelCase
python3 scripts/text_case.py "hello world" --camel

# snake_case
python3 scripts/text_case.py "HelloWorld" --snake

# kebab-case
python3 scripts/text_case.py "Hello World" --kebab

Examples

InputModeOutput
hello world--upperHELLO WORLD
HELLO WORLD--lowerhello world
hello world--titleHello World
hello world--camelhelloWorld
hello world--pascalHelloWorld
HelloWorld--snakehello_world
hello world--kebabhello-world

中文说明

文本大小写转换工具,支持多种格式:大写、小写、标题、驼峰、蛇形、短横线等。