Home / Text Tools / Case Converter (with Chinese Amount)
Case Converter (with Chinese Amount)
Convert text between UPPERCASE, lowercase, Title Case, Sentence case, camelCase and snake_case — plus turn a number into Chinese financial uppercase (壹贰叁元角分) for invoices, cheques and receipts.
Which case do you actually need?
Case is not decoration — different conventions carry meaning in different contexts, and mixing them up makes text look wrong even when the words are correct:
- UPPERCASE for acronyms, warnings, and constants in code.
- lowercase for email addresses, tags and anything typed by users.
- Title Case for headings, book and article titles, and menu labels.
- Sentence case for body text and UI copy — the most readable option for full sentences.
- camelCase and PascalCase for variables, functions and classes in JavaScript, Java, C# and Swift.
- snake_case for Python and Ruby variables, database columns and file names.
- kebab-case for CSS class names, URL slugs and command-line flags (hyphens are the only separator that is safe in a URL).
- CONSTANT_CASE for environment variables and compile-time constants.
Converting between programming styles
When you move an identifier from one language to another, the words have to be split out and rejoined. This converter finds word boundaries in `getUserName`, `get_user_name`, `GetUserName` and `get-user-name` alike, so you can translate freely between them. Watch out for two things:
- Acronyms. `parseHTMLResponse` is ambiguous — is it `parse html response` or `parse h t m l response`? Check the result and fix the rare case by hand.
- Numbers. Most conventions treat digits as part of the preceding word, so `base64Encode` becomes `base_64_encode` in some tools. Compare the output with your project's existing style before committing.
Chinese amount in uppercase (大写金额)
The second box on this page converts a number into the Chinese financial uppercase form used on invoices (发票), cheques (支票), receipts (收据) and contracts:
- `1234.56` becomes `壹仟贰佰叁拾肆元伍角陆分`
- `1000` becomes `壹仟元整`
- `10.05` becomes `壹拾元零伍分`
The rules come from Chinese banking practice:
- 壹贰叁肆伍陆柒捌玖拾佰仟 are the anti-tamper forms of 一二三四五六七八九十百千 — plain digits are too easy to alter (一 becomes 二 or 十 with a stroke).
- 元/角/分 mark the units: 1 yuan is 10 角, and 1 角 is 10 分.
- 整 closes an amount that ends at 元 or 角, showing nothing was omitted.
- 零 fills a gap: 壹仟零壹元, 壹元零伍分.
Practically, always write the digits and the uppercase words side by side on a cheque and make sure the two agree — when they disagree, banks treat the uppercase wording as authoritative.
Privacy
Both conversions happen in your browser as you type. Nothing is uploaded, so customer names, amounts and internal text stay on your machine.
FAQ
How do I write an amount in Chinese uppercase for a cheque or invoice?
Type the amount in the second box and use the result. For example 1234.56 becomes 壹仟贰佰叁拾肆元伍角陆分, 1000 becomes 壹仟元整, and 10.05 becomes 壹拾元零伍分. On a cheque, write the digits and the uppercase words side by side and make sure they match — banks treat the uppercase wording as authoritative when the two disagree.
When should I use "整" and when "零"?
Use 整 when the amount ends exactly at 元 or 角 (壹仟元整, 伍角整); if there are 分, no 整 is written after it. Use 零 to fill a gap where a unit position is empty — 壹仟零壹元, 壹元零伍分. The converter applies both rules for you.
Why is 壹贰叁 used instead of 一二三 in financial documents?
Because plain numerals are trivial to alter: 一 becomes 二 or 十 with one extra stroke, and a 0 can be turned into a 6 or an 8. The capital forms 壹贰叁肆伍陆柒捌玖拾佰仟 have far more strokes and are standardised, so an altered amount is obvious on inspection.
How does the converter split words for camelCase, snake_case and kebab-case?
It detects boundaries at spaces, punctuation, hyphens, underscores and the transition from a lowercase letter to an uppercase one — the same rule IDEs use. Runs of capitals such as HTML are treated as one word. Check the output for unusual acronyms and adjust by hand if needed.