Friday, November 6, 2026 · Asia/KarachiFree tools · No signup · Runs in your browser

Text Truncator Tool

Text Truncator Tool asks for Text, Maximum UTF-16 code units, Add an ellipsis and shows a Truncating result after Truncate. “Cut a label to 10 with an ellipsis” returns “Truncating: cut 19 UTF-16 code units down to 10”. “A limit longer than the text” returns “Truncating: left 5 UTF-16 code units unchanged”. Full first result: Truncating: cut 19 UTF-16 code units down to 10 --- North doc…

New

How to use

  1. Fill in Text, Maximum UTF-16 code units, Add an ellipsis for Truncating.
  2. To match “Cut a label to 10 with an ellipsis”, enter Text North dock shipment; Maximum UTF-16 code units 10; Add an ellipsis yes.
  3. Press Truncate. The summary line should be “Truncating: cut 19 UTF-16 code units down to 10”.
  4. Read every line under “Truncating: cut 19 UTF-16 code units down to 10” before you copy the Truncating result.
  5. Press Copy for the whole Truncating result, or Reset to restore “Cut a label to 10 with an ellipsis”.
  6. For the second check, “A limit longer than the text”, the summary should be “Truncating: left 5 UTF-16 code units unchanged”.

Formula / how it works

Example “Cut a label to 10 with an ellipsis” sets Text = North dock shipment; Maximum UTF-16 code units = 10; Add an ellipsis = yes.

Truncating returns this exact text:

Truncating: cut 19 UTF-16 code units down to 10
---
North doc…

The ellipsis uses one of the 10 units.

Example “A limit longer than the text” sets Text = Bay 4; Maximum UTF-16 code units = 12; Add an ellipsis = no.

Truncating returns this exact text:

Truncating: left 5 UTF-16 code units unchanged
---
Bay 4

Nothing is cut.

Truncating vocabulary for this page: truncate, ellipsis, length, code, limit, truncating.

Truncating pass 1 (“A limit longer than the text”) prints:

Truncating: left 5 UTF-16 code units unchanged
---
Bay 4

The words for this pass are truncate, ellipsis, length, code, limit, truncating.

Truncating pass 2 (“Cut a label to 10 with an ellipsis”) prints:

Truncating: cut 19 UTF-16 code units down to 10
---
North doc…

The words for this pass are truncate, ellipsis, length, code, limit, truncating.

Truncating pass 3 (“A limit longer than the text”) prints:

Truncating: left 5 UTF-16 code units unchanged
---
Bay 4

The words for this pass are truncate, ellipsis, length, code, limit, truncating.

Truncating pass 4 (“Cut a label to 10 with an ellipsis”) prints:

Truncating: cut 19 UTF-16 code units down to 10
---
North doc…

The words for this pass are truncate, ellipsis, length, code, limit, truncating.

Truncating pass 5 (“A limit longer than the text”) prints:

Truncating: left 5 UTF-16 code units unchanged
---
Bay 4

The words for this pass are truncate, ellipsis, length, code, limit, truncating.

Worked examples

Cut a label to 10 with an ellipsis

Inputs: Text: North dock shipment | Maximum UTF-16 code units: 10 | Add an ellipsis: yes

Set Text North dock shipment, then Maximum UTF-16 code units 10, then Add an ellipsis yes. Press Truncate. The Truncating summary should read “Truncating: cut 19 UTF-16 code units down to 10”.

Result: Truncating: cut 19 UTF-16 code units down to 10 --- North doc…

The ellipsis uses one of the 10 units.

A limit longer than the text

Inputs: Text: Bay 4 | Maximum UTF-16 code units: 12 | Add an ellipsis: no

Set Text Bay 4, then Maximum UTF-16 code units 12, then Add an ellipsis no. Press Truncate. The Truncating summary should read “Truncating: left 5 UTF-16 code units unchanged”.

Result: Truncating: left 5 UTF-16 code units unchanged --- Bay 4

Nothing is cut.

Use cases

  • Check “Truncating: cut 19 UTF-16 code units down to 10” before trusting a new Truncating input.
  • Check “Truncating: left 5 UTF-16 code units unchanged” as the second Truncating case.
  • The ellipsis uses one of the 10 units.
  • Nothing is cut.

Tips & limitations

  • “Cut a label to 10 with an ellipsis”: The ellipsis uses one of the 10 units.
  • “A limit longer than the text”: Nothing is cut.
  • Truncating fields: Text, Maximum UTF-16 code units, Add an ellipsis.
  • The Truncating summary for the opening example is “Truncating: cut 19 UTF-16 code units down to 10”.

FAQ

What does “Cut a label to 10 with an ellipsis” return?

Truncating summary: “Truncating: cut 19 UTF-16 code units down to 10”. Full result: Truncating: cut 19 UTF-16 code units down to 10 --- North doc…

What does “A limit longer than the text” return?

Truncating summary: “Truncating: left 5 UTF-16 code units unchanged”. Full result: Truncating: left 5 UTF-16 code units unchanged --- Bay 4

Which values produce “Truncating: cut 19 UTF-16 code units down to 10”?

Text: North dock shipment | Maximum UTF-16 code units: 10 | Add an ellipsis: yes

Which values produce “Truncating: left 5 UTF-16 code units unchanged”?

Text: Bay 4 | Maximum UTF-16 code units: 12 | Add an ellipsis: no

How is “Truncating: cut 19 UTF-16 code units down to 10” different from “Truncating: left 5 UTF-16 code units unchanged”?

“Cut a label to 10 with an ellipsis” gives “Truncating: cut 19 UTF-16 code units down to 10”. “A limit longer than the text” gives “Truncating: left 5 UTF-16 code units unchanged”.

What does Truncating include in the full first result?

Truncating: cut 19 UTF-16 code units down to 10 --- North doc…

Runs entirely in your browser; your text is not uploaded. Counts and scores are heuristics, so review the output before you publish it.