./prontouso.com
VĂN BẢN & VIẾT LÁCH

Chuyển Đổi Kiểu Chữ

Chuyển đổi định dạng văn bản sang CHỮ HOA, chữ thường, Viết Hoa Đầu Từ, camelCase, snake_case, kebab-case, PascalCase và Title Case.

Trạng thái công cụChạy trên trình duyệt của bạn
Xem trước
Hoặc kéo & thả tệp văn bảnhoặc chọn tệp từ máy
.txt, .md, .csv, .json, .log · tối đa 2.0 MB. Xử lý trực tiếp trên trình duyệt, không bao giờ tải lên máy chủ.

Every case updates as you type.

Kết quả

Cách thức hoạt động

  1. Nhập dữ liệu của bạn

    Điền các giá trị cần thiết, dán văn bản hoặc tải lên tệp bạn muốn xử lý.

  2. Xem kết quả tức thì

    Hầu hết các công cụ cập nhật theo thời gian thực khi bạn nhập liệu; một số công cụ sử dụng một nút hành động duy nhất.

  3. Sử dụng kết quả

    Sao chép, tải xuống hoặc chia sẻ kết quả được tạo — bạn luôn có toàn quyền kiểm soát dữ liệu của mình.

Quyền riêng tư & xử lý dữ liệuChạy cục bộ 100% trên trình duyệt của bạn. Công cụ này không tải dữ liệu của bạn lên máy chủ.

Chuyển Đổi Kiểu Chữ là gì?

Turn one phrase or draft into display text, sentence copy, or code-friendly identifiers without rewriting it by hand.

TÌM HIỂU CÁCH HOẠT ĐỘNG CỦA CÔNG CỤ

Choosing the right text case

Display text cases

Uppercase and lowercase keep the original spacing and punctuation while changing letter case. Sentence case lowercases the text and capitalizes the first letter at the start of the text and after common sentence punctuation.

Title Case is a simple word-by-word capitalization, useful for rough headings and labels. It does not apply editorial rules such as keeping short articles or prepositions lowercase.

Identifier cases

  • camelCase joins words with no separator and a lowercase first word, common for JavaScript variables.
  • PascalCase is the same but capitalizes every word, common for class and component names.
  • snake_case and kebab-case join words with an underscore or hyphen, common in Python, file names, and CSS.
  • CONSTANT_CASE is snake_case in uppercase, common for constants and environment variables.

How words are split

Identifier-style results split on spaces, punctuation, hyphens, underscores, and camelCase boundaries. For example, "first-name", "first_name", and "firstName" all become the same two-word input before the output is rebuilt.

How to use it well

  • Paste or type text, or drop a plain text file.
  • Read any of the nine converted results.
  • Review names with acronyms, brands, or language-specific capitalization before publishing.
  • Choose Copy next to the case you need.

Case output example

Convert a label into code identifiers

Quarterly revenue API becomes quarterlyRevenueApi for camelCase, quarterly_revenue_api for snake_case, and QUARTERLY_REVENUE_API for constant case.

Quarterly revenue API -> quarterlyRevenueApi

Working with pasted text

The original and converted versions stay visible on the page while you edit. Use Clear before changing tasks on a shared device or screen.

Các Câu Hỏi Thường Gặp (FAQ)

Does Title Case follow AP, Chicago, or another style guide?

No. It capitalizes each detected word in a straightforward way. For editorial titles, use the output as a starting point and adjust small words, acronyms, and brand names manually.

Why did accents or symbols disappear from camelCase?

Identifier cases are built from ASCII letters and digits so the result works well in code, URLs, and file names. Uppercase, lowercase, and sentence case keep accented letters.

What counts as a sentence for Sentence case?

The text is split on periods, exclamation marks, and question marks followed by a space, and the first letter after each is capitalized; everything else is lowercased.

Will line breaks be preserved?

Uppercase, lowercase, and sentence case preserve the original line breaks. Identifier cases combine detected words into one value, so line breaks become word separators.

Can I convert a whole file?

Yes. Drop a plain text file such as .txt, .md, .csv, .json, or .log into the input and every case updates from its contents.

Công Cụ Liên Quan