Elysia Tools

Browse tools, examples, visual explainers, and topic guides from one clear workspace.

Top Categories

Hubs

Language
ZHDERUPTENFRES

Elysia Tools

Navigation

Text Processing

Advanced Case Converter

· Last updated:2026-01-12

Convert between CamelCase, snake_case, kebab-case, PascalCase, and other naming conventions

Details

What this tool helps you do

Converts identifiers between camelCase, PascalCase, snakecase, kebab-case, UPPERCASE, lower_case, and Title Case. Auto-detect understands camel/Pascal boundaries, acronym runs such as HTTPServer, spaces, underscores, and hyphens. Letters and digits from any script are preserved; punctuation and symbols are removed.

Execution

Run this tool

Fill in the form, run the tool, and review the result in one place.

Samples

Examples that match this tool

Related

Continue with connected tools and hubs

Written by the Elysia Tools team
Text311
Text Processing185
Case20

Tool usage guide

Learn when to use this tool, what it supports, and how real users apply it.

Key facts

Category
Text Processing
Input types
text, select, checkbox
Output type
text
Sample coverage
4
API ready
Yes

Overview

The Advanced Case Converter converts strings between programming conventions and common text formats, including camelCase, snake_case, kebab-case, PascalCase, UPPER_CASE, and Title Case, with configurable number retention and source format detection.

When to use

  • Converting database column names in snake_case to camelCase JSON API keys.
  • Generating UPPER_CASE configuration keys or kebab-case URL slugs from spaced titles.
  • Standardizing legacy identifiers with mixed naming patterns into a consistent target convention.

How it works

  1. 1Enter or paste the string into the Input Text field.
  2. 2Select the input pattern under Source Format, choosing Auto-Detect (Mixed) or an explicit format such as Space Separated or camelCase.
  3. 3Choose the required naming convention under Target Format (e.g., snake_case, PascalCase, or UPPER_CASE) and verify that Preserve Numbers is toggled as needed.
  4. 4Review the output text to verify word boundaries and digit placement match your target format.

Use cases

  • Schema transformation: Translating snake_case PostgreSQL column identifiers into camelCase JavaScript properties.
  • Style refactoring: Transforming PascalCase React or Vue component names into kebab-case custom element tags.
  • Configuration setup: Converting camelCase application config options into UPPER_CASE environment variable names.

Compare alternatives

  • Applies formal editorial casing guidelines (AP, Chicago, Wikipedia) for headlines and article titles rather than programming token conventions.

  • Capitalizes leading sentence characters and handles standalone pronouns in prose rather than delimited programming identifiers.

  • Provides direct conversion to snake_case without options for selecting alternative target conventions or custom source format handling.

Who it's for

Best for

  • Developers translating identifiers across programming languages, APIs, and database schemas.
  • Engineers converting human-readable titles into kebab-case slugs or UPPER_CASE environment variables.
  • Refactoring mixed-convention codebases into a unified casing standard.

Not ideal for

  • Publishing workflows requiring strict editorial style guides such as Chicago or AP rules for prose.
  • Long-form multi-paragraph text requiring punctuation preservation and grammatical capitalization.

Edge cases & common failures

  • Acronyms and consecutive uppercase letters

    Tokens like 'XMLHttp' or 'getHTMLElement' may split unexpectedly under auto-detect; set 'Source Format' explicitly or verify separator placement in the output.

  • Embedded numbers in identifiers

    Ensure 'Preserve Numbers' is checked if converting strings like 'sha256Hash' or 'item2', otherwise numbers may be stripped or separated unintentionally.

  • Symbols and punctuation characters

    Special characters outside standard separators (spaces, underscores, hyphens) may be omitted or treated as token delimiters during conversion.

Examples

1. Converting API properties to snake_case

Backend Developer

Background

Migrating external camelCase JSON responses to an internal database schema.

Problem

The incoming field 'userAccountId' must match the snake_case convention of the target table.

How to use

Paste 'userAccountId' into Input Text, leave Source Format as camelCase, select snake_case under Target Format, and ensure Preserve Numbers is enabled.

Input Text: userAccountId, Source Format: camelCase, Target Format: snake_case, Preserve Numbers: true

Outcome

Outputs 'user_account_id'.

2. Generating kebab-case URL slugs

Web Author

Background

Creating clean URL paths from feature titles.

Problem

Titles like 'Profile Settings 2' need to be converted to lowercase hyphen-separated route segments without losing the version number.

How to use

Enter 'Profile Settings 2' into Input Text, select Space Separated under Source Format, choose kebab-case under Target Format, and leave Preserve Numbers checked.

FAQ

What does the Preserve Numbers setting do?

When enabled, numeric digits remain intact within the resulting identifier instead of being removed or altering word splits.

When should I change Source Format from Auto-Detect (Mixed)?

Specify the source format manually when your input has ambiguous boundaries, such as adjacent capital letters or mixed delimiters, that auto-detection might misread.

Can this tool generate UPPER_CASE constants?

Yes, choose UPPER_CASE from the Target Format dropdown to format tokens with uppercase letters separated by underscores.

How are spaces handled during conversion?

Spaces serve as word separators when Source Format is set to Space Separated or Auto-Detect (Mixed), and are replaced according to the target convention.

Which target formats are supported?

Target Format supports camelCase, snake_case, kebab-case, PascalCase, UPPER_CASE, lower_case, and Title Case.

Hub

Text Encoding, Width, Date, and Currency Conversion Workflow

Prepare imported or copied text for reuse by recovering its encoding, choosing a character-width convention, standardizing inline dates or currency, and selecting a final text representation.

Home
Tools3212
Workbench
Samples593
Visualizations471
Viewers103
Hubs239
Tags333
Images, Audio & Video657

Image, audio, and video processing, conversion, and optimization tools

Math, Date & Finance647

Calculators, numerics, date logic, statistics, and finance tools

Design & Color298

Color, layout, graphics, visual styling, and design helper tools

Text & Writing209

Writing, cleanup, formatting, extraction, and text analysis tools

Developer & Web193

Developer utilities, networking, web debugging, and automation helpers

Conversion & Encoding175

Format, file, archive, unit, and encoding conversion tools

Lead Generation Quiz Launch and Contact Handoff
Memorial Drafts: Family Review and Print Handoff
Private Habit Records: Backup, Restore and Sharing Review
Article to X and LinkedIn Drafts: Fact Review and Handoff
Markdown Interactive Deck Review and Offline Handoff

© 2026 Elysia Tools. All rights reserved.

DocsPricingAboutTerms of ServicePrivacy PolicyCookiesContact
text-processing

Text Case Format Samples

Examples of different text case formats: camelCase, snake_case, kebab-case, PascalCase, and more

Monitoring

Grafana Advanced Application Samples

Comprehensive Grafana samples covering advanced dashboard design, alerting configurations, data source integrations, and plugin development

Database

PostgreSQL Advanced Samples

Advanced PostgreSQL database examples including optimization strategies, complex queries, indexing, and performance tuning

Media

Copyright-Free MP3 Audio Samples

Collection of royalty-free audio samples for testing and development purposes including nature sounds, meditation music, and ambient audio

Text Processing

Line Ending Converter

Convert text line endings between LF (Unix/macOS), CRLF (Windows), and CR (classic Mac). Normalizes mixed endings in one pass and reports the original breakdown.

Text Processing

Sentence Case Converter

Convert text to Sentence case: capitalize the first letter of each sentence and lowercase everything else. Auto-restores the standalone pronoun "I".

Text Processing

Text Case Converter

Convert text between different cases

Text Processing

Text Case Inverter

Invert text case - convert uppercase letters to lowercase and lowercase letters to uppercase

Input Text: Profile Settings 2, Source Format: Space Separated, Target Format: kebab-case, Preserve Numbers: true

Outcome

Outputs 'profile-settings-2'.

3. Creating environment variables from code settings

DevOps Engineer

Background

Defining environment variable overrides from code settings.

Problem

Variable names like 'databaseConnectionTimeout' need to be exported as uppercase underscore-separated variables.

How to use

Paste 'databaseConnectionTimeout' into Input Text, set Source Format to camelCase, and choose UPPER_CASE under Target Format.

Input Text: databaseConnectionTimeout, Source Format: camelCase, Target Format: UPPER_CASE, Preserve Numbers: true

Outcome

Outputs 'DATABASE_CONNECTION_TIMEOUT'.

Title Case Converter
Sentence Case Converter
Text to Snake Case