텍스트 및 문서 도구

Truncate 텍스트

「Truncate 텍스트」는 텍스트 및 문서 작업을 위한 브라우저 도구입니다. 입력과 결과는 일반적으로 이 기기에서 처리되며 가입이 필요하지 않습니다.

브라우저에서 로컬 처리가입 불필요개인정보 안내 ↗

Maximum 100,000 characters. Per-line mode supports up to 50,000 lines and preserves empty and trailing lines.

A whole number from 0 to 100,000, including the optional indicator.

Added only when a processed value exceeds the maximum.

사용 방법

사용 방법

  1. Enter up to 100,000 characters and choose complete-text or per-line processing.
  2. Choose which side to keep, the maximum displayed-grapheme or code-point length, and an optional indicator.
  3. Truncate only values that exceed the maximum, then copy the result or download a text file.

The maximum includes the indicator

Keep beginning removes content from the right and places the indicator at the end. Keep ending removes content from the left and places the indicator at the beginning. The indicator consumes part of the selected maximum, so its unit count cannot exceed that maximum. Values already within the limit remain exactly unchanged and receive no indicator. A maximum of zero produces an empty result when no non-empty indicator is selected.

Unicode units and line scope are explicit

Displayed-grapheme mode uses browser Unicode segmentation so combining sequences, flags, emoji modifiers, and joined emoji normally stay intact. Code-point mode counts every Unicode scalar value separately and can split a displayed sequence. Complete-text mode counts LF line breaks as units. Per-line mode keeps line order, normalizes CRLF and CR to LF, and truncates each line independently, including empty and trailing lines. Input is limited to 100,000 UTF-16 characters, per-line mode to 50,000 lines, and output to 500,000 UTF-16 characters.

자주 묻는 질문

더 알아보기

Is the indicator added when the text already fits?

No. A value whose selected-unit length is at or below the maximum is returned unchanged.

Does the indicator count toward the maximum?

Yes. With a maximum of 20 and a three-dot indicator, at most 17 source units remain.

Will emoji stay together?

Usually in displayed-grapheme mode. Code-point mode intentionally counts and can separate the underlying Unicode components.