The text changes in this tab
Make a CONSTANT_CASE name
Words are upper case and joined with underscores.
This matches the usual spelling of a constant, not a type.
The work stays in this tab.
This tool runs in your browser. Turn on JavaScript to use it.
CONSTANT_CASE
The sample is fixed. It uses the same rule as the form.
- Input
- hello world
- Result
- HELLO_WORLD
How to use it
- 1Edit the text.
- 2Read the result beside it.
- 3Copy what you need.
Good to know
- Digits stay attached to the neighboring word.
- This page does not upload the text.
- Text longer than one hundred thousand characters is rejected.
Questions
Does the result leave this browser?
No. The calculation finishes in the current tab.
What does this page leave out?
Digits stay attached to the neighboring word.
What if the input is huge?
Past one hundred thousand characters, the page stops and asks you to shorten it.
Related tools
- Make a snake_case name
Words are split on anything that is not a letter or digit, then joined with underscores.
- Make letters upper case
English letters become upper case.
- Convert identifier case
Code style is mostly about where the word breaks sit. This page finds those breaks and prints the same words in the forms languages usually want.