CONSTANT_CASE

Turn phrases into CONSTANT_CASE names.

  • Free, no sign-up
  • Runs in your browser

Drop your file here, or

TXT, CSV, JSON, Markdown, HTML, XML, DOCX, PDF, RTF and more

Type, paste with Ctrl V, or drop a file

or press Ctrl EnterRuns in your browser

Result

Your converted text will appear here.

Add your text, then press Convert to CONSTANT_CASE.

How to use CONSTANT_CASE

  1. Paste your text into the input box, or drop a file onto it.
  2. Check your text.
  3. Press Convert to CONSTANT_CASE.
  4. Copy the result or download it in the format you need.

Example

Before
max retries
apiBaseUrl
After
MAX_RETRIES
API_BASE_URL

Uppercase words joined with underscores.

Good for

  • Naming constants
  • Writing environment variable names
  • Creating enum keys

What happens to your text

Your text is processed in your browser and kept only in this tab’s memory. It is not uploaded, saved or used for analytics.

Questions about CONSTANT_CASE

More answers in the TextVix FAQ.

Is this the same as screaming snake case?

Yes — CONSTANT_CASE and SCREAMING_SNAKE_CASE are the same style.

Is my text uploaded anywhere?

No. This tool runs entirely in your browser. Your text and files are never sent to a server or stored.