UtilitySansar
Texto

Text Line Tools

A multi-purpose line manipulation tool. Sort alphabetically or by length, remove duplicate lines (case-sensitive or not), reverse the order, reverse each line's text, shuffle, strip blank lines, trim whitespace, number lines, or wrap each line with a prefix and suffix — all in one place.

Resumen de la herramienta

Esta herramienta acepta entrada estructurada y devuelve una salida determinista en el navegador, sin enviar nada al servidor.

Nombre de la herramienta
Text Line Tools
Intención de entrada
Proporciona contenido fuente para transformar, validar o analizar.
Intención de salida
Recibe una salida normalizada lista para copiar, reutilizar o depurar.
Entrada de ejemplo
banana apple banana cherry APPLE
Salida de ejemplo
APPLE apple banana cherry
Recent inputs0

Your last 5 inputs will appear here.

Input (total / non-blank)6 / 6
Input unique5
Output (total / non-blank)6 / 6
Output unique5
Sort A → Z
apple
APPLE
banana
banana
cherry
date

Introducción a la herramienta

A multi-purpose line manipulation tool. Sort alphabetically or by length, remove duplicate lines (case-sensitive or not), reverse the order, reverse each line's text, shuffle, strip blank lines, trim whitespace, number lines, or wrap each line with a prefix and suffix — all in one place.

Visión general de la herramienta

Every developer and writer keeps a hidden tab open for sorting a list, deleting duplicates, or numbering rows. This tool collects the common one-liners into a single page so you don't have to hop between sites. All operations run client-side and preserve your original text — change the operation and the output regenerates instantly.

Casos de uso

  • Sort a list of imports, dependencies, or env keys alphabetically
  • Remove duplicate emails from a contact list before importing
  • Number a checklist for a meeting
  • Reverse a stack-trace top-to-bottom for readability
  • Shuffle a list of names for random draws
  • Wrap each line of a list in quotes for code or SQL pasting

Ejemplos de entrada/salida

Operation: dedupe (case-insensitive), then sort ascending — apple, banana, cherry remain.
Intención de entrada
banana
apple
banana
cherry
APPLE
Intención de salida
APPLE
apple
banana
cherry

Preguntas frecuentes

Is the sort stable?+
Yes. Modern browser sort implementations are stable, so equal items keep their relative order.
What's the difference between 'reverse order' and 'reverse text'?+
Reverse order flips the list bottom-to-top while keeping each line intact. Reverse text flips the characters inside every line.
Does shuffle use cryptographically secure randomness?+
It uses Math.random with Fisher-Yates — fine for non-security shuffles like sampling. For raffles or security-sensitive picks, use a dedicated secure random tool.
Are case-insensitive comparisons locale-aware?+
Yes. Sorting uses Intl.Collator-style localeCompare, so accented characters and non-Latin scripts collate correctly for your locale.

Explorar más herramientas

Descubre utilidades relacionadas en la categoría Texto a continuación.

Ver todo de Texto

Herramientas relacionadas

Utilidades seleccionadas que podrían serte útiles