onlineunicodetools logo

Unicode truncator

World's simplest unicode tool

This browser-based utility truncates Unicode text. Anything that you paste or enter in the text area on the left automatically gets shortened on the right. It supports all Unicode symbols and it works with emoji characters. You can choose which side of the text to truncate (left or right), set the truncation length (number of characters to leave) and add a postfix (or prefix) character after shortening. Created by encoding gurus from team Browserling.
announcement a new project!
Super exciting news! We just launched MATHURLS – a fun math news reader. Check it out!
fullscreen fullscreen_exit
Truncation Side
Truncate Unicode characters from the ending position.
Truncate Unicode characters from the beginning position.
Lines and Characters
Truncate multiple lines at the same time to the same length.
Leave this many Unicode characters in the text.
Postfix and Prefix
Add this character at the end (or at the start, if the left direction is selected) of the truncated text.
The length of postfix (prefix) is included in the length of the truncated text.
Unicode truncator tool What is a unicode truncator?
This utility shortens your Unicode text to the given length. You can choose the truncation side and specify the number of characters (graphemes) to leave in the output. If you truncate the right side, then the ending part of the input data will be cut. If you truncate the left side, then the starting part of the input data will be cut. If you need, then you can add a postfix (prefix) character at the end (start) of the data. The length of the postfix/prefix is included in the length of the truncated text. We also have another very useful option that lets you truncate multiple lines at the same time to the same length.
Unicode truncator examples Click to use
Epictetus Quote
In this example, we truncate a quote by the Greek Stoic philosopher Epictetus. The shortening is done on the right side. As we're using a wide Unicode character set here, the text is first split into the individual graphemes and then truncated to a length of 35 symbols.
No great thing is created suddenly. Epictetus
No great thing is created suddenly.
Required options
These options will be used automatically if you select this example.
Truncate Unicode characters from the ending position.
Truncate multiple lines at the same time to the same length.
Leave this many Unicode characters in the text.
Phonetic Extensions
This example truncates characters from the phonetic extensions block. The truncation direction is set to left, which means the cut is made from the start (from the first position). It removes the first 24 graphemes at the beginning, leaving the last 20 symbols.
ᴀᴁᴂᴃᴄᴅᴆᴇᴈᴉᴊᴋᴌᴍᴎᴏᴐᴑᴒᴓᴔᴕᴖᴗᴘᴙᴚᴛᴜᴝᴞᴟᴠᴡᴢᴣᴤᴥᴦᴧᴨᴩᴪᴫ
ᴘᴙᴚᴛᴜᴝᴞᴟᴠᴡᴢᴣᴤᴥᴦᴧᴨᴩᴪᴫ
Required options
These options will be used automatically if you select this example.
Truncate Unicode characters from the beginning position.
Truncate multiple lines at the same time to the same length.
Leave this many Unicode characters in the text.
Marine Life Emojis
In this example, we enable the "Individual Line Truncation" option to truncate a list of nine aquatic inhabitants emoticons to a constant length. We select the right-side truncation and leave only 9 characters in each line, with a three-dot character at the end. The three-dot character is included in the total length (so it's 8 characters of the original text plus the three-dot character).
🐬 – dolphin 🦈 – dolphin 🐟 – fish 🐠 – tropical fish 🐙 – octopus 🦑 – squid 🦐 – shrimp 🦀 – crab 🦞 – lobster
🐬 – dolp… 🦈 – dolp… 🐟 – fish 🐠 – trop… 🐙 – octo… 🦑 – squid 🦐 – shri… 🦀 – crab 🦞 – lobs…
Required options
These options will be used automatically if you select this example.
Truncate Unicode characters from the ending position.
Truncate multiple lines at the same time to the same length.
Leave this many Unicode characters in the text.
Add this character at the end (or at the start, if the left direction is selected) of the truncated text.
Pro tips Master online unicode tools
You can pass input to this tool via ?input query argument and it will automatically compute output. Here's how to type it in your browser's address bar. Click to try!
https://onlineunicodetools.com/truncate-unicode?input=%EF%BC%AE%EF%BD%8F%20%EF%BD%87%EF%BD%92%EF%BD%85%EF%BD%81%EF%BD%94%20%EF%BD%94%EF%BD%88%EF%BD%89%EF%BD%8E%EF%BD%87%20%EF%BD%89%EF%BD%93%20%EF%BD%83%EF%BD%92%EF%BD%85%EF%BD%81%EF%BD%94%EF%BD%85%EF%BD%84%20%EF%BD%93%EF%BD%95%EF%BD%84%EF%BD%84%EF%BD%85%EF%BD%8E%EF%BD%8C%EF%BD%99%EF%BC%8E%20%EF%BC%A5%EF%BD%90%EF%BD%89%EF%BD%83%EF%BD%94%EF%BD%85%EF%BD%94%EF%BD%95%EF%BD%93&truncate-right=true&length=35&multi-line=false&use-postfix=false
All unicode tools
Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
Quickly find code positions of all Unicode values.
Quickly decode code positions to Unicode values.
Quickly encode Unicode values to UTF-8 encoding.
Quickly encode Unicode values to UTF-16 encoding.
Quickly encode Unicode values to UTF-32 encoding.
Quickly create a picture from Unicode symbols.
Quickly generate random Unicode text in a given range.
Quickly generate all Unicode values from the given code point interval.
Quickly filter Unicode symbols that are within the given code point interval.
Quickly split Unicode data into graphemes.
Quickly sort Unicode glyphs in increasing or decreasing order.
Quickly find the length of Unicode text.
Quickly increase Unicode code point values.
Quickly decrease Unicode code point values.
Quickly reverse the order of symbols in Unicode text.
Quickly rotate Unicode characters to the left and right.
Quickly create multiple copies of Unicode text.
Quickly extract all characters from Unicode text.
Quickly split Unicode data into pieces.
Quickly split Unicode text into chunks of constant length.
Quickly merge Unicode snippets together.
Quickly shorten Unicode text to the given length.
Quickly left-pad Unicode text with any character.
Quickly right-pad Unicode text with any character.
Quickly align Unicode data to the center.
Quickly align Unicode data to the right.
Quickly convert ordinary numbers to Unicode numbers in various fonts.
Quickly convert ordinary letters to Unicode letters in various fonts.
Quickly convert ordinary text to fancy Unicode text.
Quickly combine input Unicode with diacritical marks.
Quickly circularly rearrange Unicode symbols.
Quickly URL-escape Unicode symbols.
Quickly encode Unicode data to HTML entities.
Quickly encode Unicode values to base64.
Quickly encode Unicode values to a data URI.
Quickly convert Unicode data to base-2 (binary).
Quickly convert Unicode data to base-8 (octal).
Quickly convert Unicode data to base-10 (decimal).
Quickly convert Unicode data to base-16 (hexadecimal).
Quickly create a picture from Unicode emojis.
Release Zalgo on your Unicode text.
Coming soon These unicode tools are on the way
Name Unicode Symbols
Spell out the names of Unicode characters in the input text.
URL-decode Unicode
URL-unescape Unicode text.
Convert Binary to Unicode
Convert base-2 data to Unicode encoding.
Convert Octal to Unicode
Convert base-8 data to Unicode encoding.
Convert Decimal to Unicode
Convert base-10 data to Unicode encoding.
Convert Hex to Unicode
Convert base-16 data to Unicode encoding.
Convert Unicode to Any Base
Convert Unicode text to any radix.
Convert Any Base to Unicode
Convert any radix data to Unicode.
Convert Unicode to ASCII
Convert Unicode characters to ASCII characters.
Convert ASCII to Unicode
Convert ASCII characters to Unicode characters.
Convert Unicode to Latin1
Convert Unicode text to Latin1 encoding.
Convert Latin1 to Unicode
Convert Latin1 encoded data to Unicode.
Convert Unicode to Bytes
Convert Unicode characters to raw bytes.
Convert Bytes to Unicode
Convert raw bytes to Unicode.
Remove Combining Characters
Delete diacritical marks from Unicode data
Remove Zalgo from Unicode
Make Unicode Zalgo text readable again.
Validate Unicode
Check if the given Unicode has valid encoding.
Convert Unicode to Punycode
Encode Unicode text to Punycode encoding.
Convert Punycode to Unicode
Decode Punycode encoding to Unicode.
Decode Base64 to Unicode
Convert base64 data to Unicode text.
Encode Unicode to Data URI
Convert Unicode to a valid data URL.
Decode Data URI to Unicode
Convert a valid data URL to Unicode text.
Convert HTML to Unicode
Decode HTML entities to Unicode data.
Convert UTF8 to Unicode
Decode UTF8 encoding to Unicode.
Convert UTF16 to Unicode
Decode UTF16 encoding to Unicode.
Convert UTF32 to Unicode
Decode UTF32 encoding to Unicode.
Convert Unicode to Uppercase
Convert all Unicode characters to uppercase.
Convert Unicode to Lowercase
Convert all Unicode characters to lowercase.
Convert Unicode to Randomcase
Randomize case of all Unicode characters.
Convert Unicode to Lowercase
Convert all Unicode characters to lowercase.
JSON Stringify Unicode
Encode Unicode to JSON.
JSON Parse Unicode
Decode JSON to Unicode.
Shuffle Unicode Symbols
Randomly rearrange the order of input graphemes.
Analyze Unicode
Print statistics about Unicode data and code points, etc.