Chuyển đến nội dung chính

Công cụ chuyển đổi kiểu chữ

Công cụ cho Nhà phát triển

camelCase, snake_case, kebab-case và 7 kiểu khác

Xem nhanh kết quả

Case Converter: camelCase, snake_case, kebab-case and 7 more styles. camelCase (JS vars) · PascalCase (classes/components).

Đầu vào (tự động nhận dạng bất kỳ phong cách nào)

Detected 4 words: user · profile · image · url

Quá trình phân tách từ

  1. 1Chèn dấu cách tại ranh giới camelCase (chữ thường→chữ hoa): aB → a B
  2. 2Tách viết tắt chữ hoa liên tục:HTTPServer → HTTP Server
  3. 3Split on all separators: space / - _ . / \
  4. 4Lowercase all → 4 word(s): user, profile, image, url
  5. 5Sắp xếp lại theo quy tắc từng phong cách (viết hoa chữ cái đầu / dấu phân cách / chữ hoa chữ thường)

Quy ước đặt tên từng ngôn ngữ

Ngôn ngữBiến số/Hàm sốLoại / KiểuHằng số
JavaScript/TScamelCasePascalCaseSCREAMING_SNAKE
Pythonsnake_casePascalCaseSCREAMING_SNAKE
JavacamelCasePascalCaseSCREAMING_SNAKE
GocamelCasePascalCasecamelCase/PascalCase
Rustsnake_casePascalCaseSCREAMING_SNAKE
C#camelCasePascalCasePascalCase
CSS/HTMLkebab-case——
Tự động nhận dạng ranh giới camelCase, viết tắt chữ hoa liên tục (HTTPServer → http + server) và tất cả dấu phân cách; số giữ lại trong từ thuộc về. Khuyến nghị quy ước: mỗi dự án cố định một phong cách và dùng linter để ép buộc (eslint naming-convention / pylint).

Công cụ này có hữu ích cho bạn không?

Hướng dẫn sử dụng

  1. Paste or type content: drop code/text into the Case Converter or fill the parameters.
  2. Choose mode/options: switch format, rules or processing as needed.
  3. Live output: results appear instantly — nothing is submitted, data stays in your browser.
  4. One-click copy: copy the output straight into your development environment.

Điểm chính

  • Case Converter is a free online developer tool — open and use, no sign-up.
  • All calculations run locally in your browser; your data never leaves the device.
  • Key capability: camelCase, snake_case, kebab-case and 7 more styles.
  • Results come with formulas and reference tables so you can verify every number.

Công thức và nguyên lý hoạt động

Naming conventions

camelCase (JS vars) · PascalCase (classes/components)
snake_case (Python/DB) · SCREAMING_SNAKE_CASE (constants)
kebab-case (URLs/CSS) · Train-Case (HTTP headers) · dot.case (config keys)

Câu hỏi thường gặp

How do I use the Case Converter?
Open the page and fill in the input fields — results update automatically. camelCase, snake_case, kebab-case and 7 more styles.
Are the results accurate?
Yes. Standard formulas and conversion factors are used and verified.
Is it free? Do I need to sign up?
Completely free. No registration, login or download required.
Does it work on mobile?
Yes. The responsive design works on phones, tablets and desktops.
Is my data saved?
No. Everything runs locally in your browser.

Công cụ liên quan

Hướng dẫn liên quan

Nguồn và cập nhật

Based on RFC 4648, ECMA-262 and related specifications. Last updated: 2025-07

Cập nhật gần nhất:

Công thức và nội dung trên trang này đã được đội ngũ YiJianSuan kiểm tra lại, chỉ dùng để tham khảo học tập, các nghiệp vụ thực tế vui lòng tuân theo thông báo chính thức.

Nội dung được đội ngũ biên tập YiJianSuan duy trì và kiểm tra lại định kỳ, quy trình cập nhật và kiểm duyệt xem tạiQuy định biên tập.

Trích dẫn trang này: YiJianSuan. Công cụ chuyển đổi kiểu chữ[EB/OL]. https://www.yijiansuan.com/vi/c/dev/case-convert

Kết quả do công cụ này cung cấp chỉ mang tính tham khảo, không cấu thành bất kỳ lời khuyên chuyên nghiệp nào, vui lòng dựa trên kết quả tính toán chính thức.