camelCase, snake_case, kebab-case converter (variable and PLC tag names)
Write one name per line, even with spaces and accents (“Infeed conveyor speed”): you get infeedConveyorSpeed, infeed_conveyor_speed, INFEED_CONVEYOR_SPEED and so on. It also splits names already in camelCase or with hyphens.
🔒 Your text stays on your device: every conversion runs in your browser and nothing is sent or stored.
Programmer and PLC formats
Upper and lower case
Clean-up and lines
Pick a conversion above: the result appears here as you type.
Indicative results: always verify with a qualified technician and the applicable standards. Legal notice
How it is calculated
Sample: why is SUMMER so nice? let's go to the beach. ⏎ Motor Name Conveyor 1
| camelCase | whyIsSummerSoNiceLetSGoToTheBeach | Accents and symbols are removed, words are split (also existingCamelCase) and joined: first word lower case, the others capitalised. One line = one name. |
|---|---|---|
| PascalCase | WhyIsSummerSoNiceLetSGoToTheBeach | Like camelCase but the first word is capitalised too (class, FB and data type names). |
| snake_case | why_is_summer_so_nice_let_s_go_to_the_beach | Lower-case words joined by _ (Python, databases, many PLC tags). |
| CONSTANT_CASE | WHY_IS_SUMMER_SO_NICE_LET_S_GO_TO_THE_BEACH | UPPER-case words joined by _ (constants, #define, alarm names). |
| kebab-case | why-is-summer-so-nice-let-s-go-to-the-beach | Lower-case words joined by - (CSS, file names, URLs). |
| dot.case | why.is.summer.so.nice.let.s.go.to.the.beach | Lower-case words joined by dots (config keys, namespaces). |
| UPPERCASE | WHY IS SUMMER SO NICE? LET'S GO TO THE BEACH. | Every letter becomes upper case, accents included (é → É). Digits and symbols are unchanged. |
| lowercase | why is summer so nice? let's go to the beach. | Every letter becomes lower case, accents included. |
| Sentence case | Why is summer so nice? Let's go to the beach. | Everything lower case, then the first letter of the text and after . ! ? … or a new line is capitalised. |
| Title Case | Why Is Summer so Nice? Let's Go to the Beach. | Each word starts with a capital, except short articles, conjunctions and prepositions (a, an, the, of, and…) unless first or last. |
| aLtErNaTiNg | wHy Is SuMmEr So NiCe? LeT's Go To ThE bEaCh. | Letters alternate lower/upper; spaces and symbols are skipped. |
| iNVERSE cASE | WHY IS summer SO NICE? LET'S GO TO THE BEACH. | Upper case becomes lower and vice versa: handy if you typed with CAPS LOCK on. |
| Remove accents (é → e) | why is SUMMER so nice? let's go to the beach. | Each accented letter becomes its base letter (é → e, ç → c, ñ → n, ß → ss, æ → ae). Everything else stays. |
| Collapse double spaces | why is SUMMER so nice? let's go to the beach. | Runs of spaces or tabs become a single space; line breaks are kept. |
| Trim line start and end | why is SUMMER so nice? let's go to the beach. | Spaces at the start and end of every line are removed. |
| Remove empty lines | why is SUMMER so nice? let's go to the beach. | Lines that are empty or only spaces are deleted. |
| URL slug | why-is-summer-so-nice-let-s-go-to-the-beach | Lower case, no accents, every run of symbols or spaces becomes a hyphen: ready for web addresses. One line = one slug. |
| Sort lines A → Z | Motor Name Conveyor 1 | Lines are sorted alphabetically for the page language, with numbers in natural order (2 before 10). |
| Sort lines Z → A | why is SUMMER so nice? let's go to the beach. | Like A → Z but reversed. |
| Remove duplicate lines | why is SUMMER so nice? let's go to the beach. | Only the first occurrence of each line is kept (outer spaces ignored); order is unchanged. |
| Reverse text | 1 royevnoC emaN rotoM | Characters are read from end to start; accented letters and emoji stay whole. |
Characters are counted as a person sees them (é, emoji and accented letters count as 1). Words are runs of letters or digits; an apostrophe does not split them (don't = 1). Sentences end with . ! ? or …. UTF-8 bytes matter for PLC STRING fields and databases: é, à, ü take 2 bytes.
🔒 Your text stays on your device: every conversion runs in your browser and nothing is sent or stored.
Frequently asked questions
What is the difference between camelCase and PascalCase?
In camelCase the first word is lower case (conveyorMotor), in PascalCase it is not (ConveyorMotor). PascalCase is for classes, FBs and types; camelCase for variables.
Do accents end up in the name?
No: programmer formats strip accents (café → cafe), because many PLCs and languages accept only A–Z, 0–9 and _.
Is my text sent to a server?
No. All conversions and counts run in your browser with JavaScript: the text never leaves your device and is not stored. Even the shareable link only contains the mode, not the text.