Skip to content
uencoder
PIPELINE Text Processing Beginner 2 steps

Snake Case and Uppercase

Snake-case uses underscores. Uppercasing the first letter creates Pascal-snake hybrid for constants.

What it solves

Convert to snake-case then uppercase first letter.

Input → Output

Text Snake Case input → Text Uppercase First output across 2 steps.

Runs in

1–2 minutes · fully local in your browser.

Before you start

  • Text input

The pipeline

  1. 1 Text Snake Case text-snake-case

    Convert text to snake_case. Word splitting is simple: consecutive capitals are split one character at a time, so "XMLHttpRequest" becomes "xmlhttp_request" rather than "xml_http_request".

  2. 2 Text Uppercase First text-uppercase-first

    Uppercase the first character of the text. If the text starts with an emoji or another character that has no case, the text is returned unchanged.

Open in Toolchain

Runs locally in your browser. The recipe defines the pipeline only — your input never leaves this tab.

▶Run this workflow

Enter your input below and click Run. All processing happens locally in your browser — nothing is uploaded.

Pipeline progress

  1. Text Snake Casetext-snake-case
  2. Text Uppercase Firsttext-uppercase-first

Sample input

hello world

Expected output

Hello_world

This pair is executed against the real tools at build time (tests/unit/recipes.test.ts) — the expected output is verified, not illustrative.

Related workflows

You might also need

Workflows sharing tools or topics with this recipe.

Tools used