String & ID Formatter

One tool for the string chores: convert identifier casing, encode and decode Base64 and URL components, and generate UUID v4 values.

Runs entirely in your browser — nothing is sent to our servers.

Input

Output

camelCase

helloA2zutilDevWorld

PascalCase

HelloA2zutilDevWorld

snake_case

hello_a2zutil_dev_world

CONSTANT_CASE

HELLO_A2ZUTIL_DEV_WORLD

kebab-case

hello-a2zutil-dev-world

Title Case

Hello A2zutil Dev World

UPPERCASE

HELLO A2ZUTIL.DEV WORLD

lowercase

hello a2zutil.dev world

What is string and ID formatting?

Every codebase carries naming conventions: JavaScript variables in camelCase, database columns in snake_case, CSS classes and URL slugs in kebab-case, React components in PascalCase, environment variables in CONSTANT_CASE. Moving a field between layers means rewriting the same word in a different shape, over and over.

Encoding is the neighbouring chore. Base64 turns arbitrary text or binary data into an ASCII-safe string for headers, data URIs and tokens. Percent-encoding does the same job for URL components so that spaces, ampersands and slashes survive being placed in a query string. Both are reversible, and both are easy to get subtly wrong by hand.

UUID v4 generation rounds it out: a 122-bit random identifier you can drop into a test fixture, a seed script, or a message key without coordinating with anything else.

Why use this tool

Everything happens in your browser. Base64 payloads and identifiers frequently contain credentials or personal data, so a converter that posts your input to a backend is a bad habit. This one has no backend to post to.

Case conversion shows every variant at once instead of making you pick a target first, so you can copy whichever one you actually needed. Encoding uses the browser's own UTF-8-aware APIs, which means emoji and non-Latin scripts round-trip correctly rather than producing mojibake.

UUIDs come from the platform's cryptographic random source, not Math.random.

How to use it

  1. Choose a mode: Case convert, Base64, URL encode, or UUID v4.
  2. For text modes, paste your input on the left.
  3. For Base64 and URL, toggle between Encode and Decode.
  4. Read the results on the right — case conversion shows every variant at once.
  5. For UUIDs, choose how many you need and press Generate.
  6. Press the copy button beside any result to put it on your clipboard.

String & ID formatter FAQ