Chuyển đổi văn bản giữa UPPERCASE, lowercase, Title, Sentence, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE và dot.case.
Cách dùng Chuyển đổi kiểu chữ
Gõ hoặc dán văn bản của bạn.
Chọn kiểu chữ bạn cần từ danh sách.
Sao chép kết quả đã chuyển đổi.
The Case Converter switches text between programming cases and natural-language cases in one place, so you do not have to retype a label, variable or heading by hand just to change how it is capitalized.
Conversion happens entirely in your browser, so whatever you paste stays on your device and nothing is uploaded.
It covers UPPERCASE, lowercase, Title Case and Sentence case for prose, plus the cases developers need: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and dot.case. Each has its home: camelCase in JavaScript and Java, snake_case in Python and Ruby, kebab-case in CSS and URLs, and CONSTANT_CASE for environment variables.
The clever part is tokenization. The converter first splits your input into words, understanding existing camelCase, snake_case, kebab-case and spaces, and treats acronyms like API or HTTP as single units. So myAPIKey becomes my-api-key, not my-a-p-i-key.
Title Case capitalizes the first letter of each word, which is ideal for headings and labels. Sentence case capitalizes only the first word, like ordinary prose. Note that Title Case here does not apply editorial small-word rules (leaving "of" or "the" lowercase), so check headlines if you follow a specific style guide.
Typical uses include renaming a variable to match a new language's convention, turning a heading into a URL slug, building an environment-variable name from a label, or just cleaning up inconsistent capitalization pasted from elsewhere.
Câu hỏi thường gặp
Bộ chuyển đổi trước tiên tách camelCase, snake_case, kebab-case và khoảng trắng thành từ, và xem các từ viết tắt như API hay HTTP là một từ duy nhất.
camelCase cho JavaScript/Java, snake_case cho Python/Ruby, kebab-case cho CSS và URL, CONSTANT_CASE cho biến môi trường.
Nhúng công cụ này
Thêm công cụ này vào trang web của riêng bạn. Sao chép đoạn mã bên dưới; nó tự động cập nhật.
<iframe src="https://monu.tools/embed/vi/case-converter" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>Công cụ liên quan
Đếm số từ, ký tự, dòng và câu trong bất kỳ văn bản nào.
So sánh hai văn bản và làm nổi bật các dòng được thêm và xóa, tức thì và trong trình duyệt của bạn.
Tạo văn bản giữ chỗ theo đoạn, câu hoặc từ, chỉ bằng một cú nhấp.
Xóa các dòng trùng lặp khỏi danh sách hoặc văn bản, với tùy chọn bỏ qua hoa thường, cắt khoảng trắng và sắp xếp.