[{"data":1,"prerenderedAt":99},["ShallowReactive",2],{"tool-content-en-text-truncate":3},{"id":4,"title":5,"body":6,"description":89,"extension":90,"locale":91,"meta":92,"navigation":93,"path":94,"seo":95,"stem":96,"toolId":97,"__hash__":98},"tools\u002Ftools\u002Fen\u002Ftext-truncate.md","Text Truncator",{"type":7,"value":8,"toc":83},"minimark",[9,13,17,21,77,80],[10,11,5],"h2",{"id":12},"text-truncator",[14,15,16],"p",{},"Cut text down to a fixed length without uploading it anywhere. Everything runs locally in your browser.",[10,18,20],{"id":19},"features","Features",[22,23,24,32,38,49,55,61,67],"ul",{},[25,26,27,31],"li",{},[28,29,30],"strong",{},"Count by characters, bytes, words or lines"," — characters are counted as code points, so an emoji counts as one. Byte mode measures UTF-8 and never cuts a multi-byte character in half.",[25,33,34,37],{},[28,35,36],{},"Keep the start, the end or both ends"," — head keeps the first N units, tail keeps the last N, middle splits the budget between the two ends.",[25,39,40,43,44,48],{},[28,41,42],{},"Custom marker"," — replace ",[45,46,47],"code",{},"…"," with any text, or leave the field empty for a plain cut.",[25,50,51,54],{},[28,52,53],{},"Marker counts toward the limit"," — a limit of 160 really returns at most 160 characters, which is what meta descriptions and CMS fields require.",[25,56,57,60],{},[28,58,59],{},"Word mode"," — cut on word boundaries and drop the separator in front of a kept tail, so the result stays readable.",[25,62,63,66],{},[28,64,65],{},"Counts"," — see the original length and the resulting length side by side.",[25,68,69,72,73,76],{},[28,70,71],{},"Export"," — copy the result, move it into the input to keep trimming, or download it as a ",[45,74,75],{},".txt"," file.",[14,78,79],{},"Nothing is truncated when the text already fits the limit, and no marker is added in that case.",[14,81,82],{},"All processing stays on your device; no data leaves the browser.",{"title":84,"searchDepth":85,"depth":85,"links":86},"",2,[87,88],{"id":12,"depth":85,"text":5},{"id":19,"depth":85,"text":20},"Cut text down to a limit by characters, UTF-8 bytes, words or lines, keeping the start, end or both, with an ellipsis.","md","en",{},true,"\u002Ftools\u002Fen\u002Ftext-truncate",{"title":5,"description":89},"tools\u002Fen\u002Ftext-truncate","text-truncate","tJ8SCPdjLixxxa2-sXpkQk4glUInWW6CNe8CO3RZVeQ",1792391421368]