Hongmu Notes

🆕 Batch conversion of English letters to upper and lower case

Five case conversion modes, batch processing on a line basis, only English letters are changed, and the indentation at the beginning of the line is retained.

Batch conversion of English letters to upper and lower case

Instructions for use

First paste the English text into the input box above (one paragraph per line), and then click one of the five modes: lowercase to uppercase, uppercase to lowercase, first letter capitalized (the rest of the letters remain unchanged), first letter capitalized, other lowercase, and first letter of each word capitalized. The first four are processed by lines, and the fifth is processed by word segmentation by spaces; the conversion only affects English letters, while Chinese characters, numbers, and punctuation are retained as they are. The indentation at the beginning of the line and the spaces at the end of the line are not changed. The number of lines in the result is consistent with the input. After conversion, you can click "Copy Result" or "Export to TXT" (the file name is fixed to export result.txt between uppercase and lowercase). All processing is completed locally in the browser and is not uploaded or retained.

✅ How to check the results

  • The number of rows in the result is the same as the input, and blank rows are also retained.
  • Spot-check whether the letter case of a line matches the selected pattern
  • Chinese characters, numbers and indentation should remain as is

🔒 Data and privacy

The conversion and export are completed locally in the browser. The input and results are not uploaded or retained. They are cleared when the page is refreshed. After copying the results, please clear the clipboard after use.

📌 What problem does this tool solve?

When sorting English materials, we often encounter inconsistencies in capitalization: field names exported from the database are all lowercase, titles copied from web pages are all uppercase, names filled in by customers are uneven, and product models are half in uppercase and half in lowercase. Manual modification one by one is slow and easy to miss, especially when there are more than dozens of lines, your eyes will soon become dazzled. This tool makes common uppercase and lowercase conversion buttons into five buttons. Select one and click it. The entire text will be converted according to the rules. The result can be copied or exported to TXT file.

  • Unify the way English titles are written (all capital letters or sentence style)
  • Standardize the capitalization of the first letter of the name and company name
  • Unify exported field names into one case
  • Fix uneven manual data entry

⚙️ Rules and examples for the five modes

The difference between the five modes is "scope of action" and "how to process other letters": the first four are processed on a line basis, only affecting the first letter of each line or the entire line of letters; the fifth type is processed on a space-based word segmentation, and "every word" will be processed. The conversion only applies to English letters, Chinese characters, numbers and punctuation are retained as they are; the indentation at the beginning of the line and the spaces at the end of the line will not be changed.

modeinputresult
Convert lowercase to uppercasehello worldHELLO WORLD
Convert uppercase to lowercaseHELLO Worldhello world
Capitalize first letterhello WORLDHello WORLD
Capitalize the first letter and lowercase the resthELLO wORLDHello world
Capitalize the first letter of each wordhello WORLDHello World

🧪 How to check the results

Three steps to check. The first step is to compare the number of lines: the number of lines in the result should be consistent with the input, no more and no less (blank lines will also be retained). The second step is to spot check the letters: pick a row and check whether the first letter and the other letters conform to the definition of the selected pattern. The third step is to check non-alphabetic characters: confirm that Chinese characters, numbers and punctuation have not been changed, and the indentation at the beginning of the line is still there. If all three steps are passed, the results can be copied or exported directly.

  • The number of rows in the result is consistent with the input
  • Check that the letters in the rows match the pattern definition.
  • Chinese characters, numbers, punctuation and indentation have not been changed.

⚠️ Two confusing points

The first is the difference between "capitalize the first letter of each word" and "capitalize the first letter of each word": the former only affects the first letter of each line, while the latter will first change the entire paragraph to lowercase, and then capitalize the first letter of each word. Therefore, "hELLO wORLD" becomes "Hello wORLD" under the former, and becomes "Hello World" under the latter. The second is "scope": the four line-by-line modes will not process across lines, so if you merge multiple lines of content into one line and then convert, the results will be different. Before operating, please confirm whether the entered branches are as expected.

🔒 Data and privacy

The conversion and export are all completed locally in the browser, and the input content and results are not uploaded to the server or retained. They are cleared when the page is refreshed. Contracts, lists and other English materials that are inconvenient to send out can also be processed with confidence. The exported files are saved on your own device. After copying the results, it is recommended to clear the clipboard as needed.

All keywords and tutorials 12

❓ FAQ

What are the five conversion modes??
Convert lowercase to uppercase, convert uppercase to lowercase, capitalize the first letter (the rest remain unchanged), capitalize the first letter and capitalize the rest of the words, capitalize the first letter of each word; the first four are processed by lines, and the last one is processed by spaces and word segmentation.
Will Chinese characters and numbers be converted?
No, only English letters are involved in case conversion; Chinese characters, numbers and symbols are retained as they are.
Will the indented spaces at the beginning of the line be retained?
Will be retained. Indentation and trailing spaces are not affected, only the capitalization of letters is changed.
The difference between capitalizing the first letter of each word and capitalizing the first letter of each word
The former only changes the first letter of each line to uppercase, leaving the rest of the letters unchanged; the latter will first change the entire paragraph to lowercase, and then change the first letter of each word to uppercase.
How to export the results
Clicking "Export as TXT" will download a text file. The file name is fixed to "Export result.txt between upper and lower case", and the content is consistent with the result box.
Will the data be uploaded?
No, the conversion and export are completed locally in the browser. The input content is not uploaded or retained. It will be cleared when the page is refreshed.