Skip to content
LanguageHelper

Định dạng đoạn văn và khoảng trắng

Dán văn bản sao chép từ PDF, email hoặc bản quét OCR để có đoạn văn sạch, không còn dòng bị ngắt.

Tùy chọn

0

Kết quả
Tải xuống

 

100% trong trình duyệt của bạn

Giới thiệu công cụ

Text copied from PDFs keeps the hard line breaks of the page layout, splits words with hyphens at line ends, and often contains invisible characters like non-breaking spaces, zero-width spaces and soft hyphens. This formatter rejoins lines that belong to the same paragraph while keeping real paragraph breaks and list items, merges “infor- mation” back into “information” (but keeps names like “Jean-Paul”), converts exotic Unicode spaces and tabs into normal spaces, and lets you output compact lines or clean double-spaced paragraphs. CJK text is joined without adding spaces.

Như mọi công cụ trên LanguageHelper, Định dạng đoạn văn và khoảng trắng chạy hoàn toàn trong trình duyệt của bạn. Văn bản không bao giờ được tải lên, lưu trữ hay dùng để huấn luyện, nên an toàn cho tài liệu mật, dữ liệu khách hàng và tin nhắn cá nhân. Không cần tài khoản hay cài đặt, và công cụ vẫn hoạt động ngoại tuyến sau khi đã tải.

Cách hoạt động

  1. Paste the messy text.
  2. Choose which clean-ups to apply.
  3. The formatted result updates as you change options.
  4. Copy the clean text into your editor.

Trường hợp sử dụng

  • Clean text copied from PDFs, e-books and scanned documents.
  • Fix e-mails with hard line breaks at 72 characters.
  • Remove invisible characters that break search and comparisons.
  • Prepare text for word processors, CMS editors or translation.

Ví dụ

PDF copy

Trước

This is a para-
graph that was
wrapped.

Sau

This is a paragraph that was wrapped.
Whitespace

Trước

Too   many	spaces here

Sau

Too many spaces here

Mẹo để có kết quả tốt nhất

Start with the default options, which fix most PDF copies. If paragraphs are merged too aggressively, add blank lines between them in the input; if lists are merged, make sure each item starts with a bullet or number. Enable “Remove all empty lines” only when you want compact output such as one paragraph per line.

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

How does it know where paragraphs end?

Blank lines always end a paragraph. Within a block, a line that is much shorter than the others and ends with a sentence terminator is also treated as the end of a paragraph, which matches how PDF text is typically laid out.

Will it break bullet lists?

No. Lines that start with bullets, dashes, numbers or letters followed by a period or parenthesis are kept on their own lines.

Which invisible characters are removed?

Soft hyphens, zero-width spaces, byte-order marks and word joiners are removed; non-breaking and other Unicode spaces become normal spaces. Zero-width joiners needed by Persian and Indic scripts are kept.

Does it handle Chinese and Japanese?

Yes. When two lines are joined between CJK characters, no space is inserted.

Is anything sent to a server?

No. Formatting happens instantly in your browser.

Can it convert single line breaks to paragraphs?

Yes. Turn off “Join broken lines” and keep “Blank line between paragraphs” on: each block you separated with a blank line is kept, and output paragraphs are separated by exactly one empty line.