Ordenador de texto
Ordena líneas alfabéticamente, por longitud o elimina duplicados.
Acerca del ordenador de texto
Pega cualquier texto de varias líneas y ordena cada línea alfabéticamente, en orden alfabético inverso o por longitud. Las opciones te permiten eliminar líneas duplicadas, normalizar el uso de mayúsculas/minúsculas antes de la comparación y recortar los espacios en blanco iniciales/finales de cada línea antes de procesar.
Preguntas frecuentes
- ¿Cómo funciona el ordenamiento alfabético?
- Las líneas se ordenan usando localeCompare de JavaScript, que maneja correctamente los caracteres especiales.
- ¿Puedo ordenar números?
- El ordenamiento alfabético trata los números como texto. Para el ordenamiento numérico, usa el ordenamiento por longitud como solución alternativa o asegúrate de que los números tengan ceros a la izquierda.
- ¿Maneja líneas en blanco?
- Las líneas en blanco se tratan como cadenas vacías y se ordenan al principio en el modo A→Z. Usa Recortar líneas para eliminarlas.
ACERCA DE ESTA HERRAMIENTA
Paste a list of lines and sort them alphabetically, in reverse alphabetical order, by line length, or strip out duplicate lines, all in a single step without opening a spreadsheet or code editor. Each line is treated as one item, so it works for anything you keep as a plain list: names, URLs, tags, ingredients, CSS classes, or import statements. Sorting happens instantly in your browser as you change options, so you can compare alphabetical order against length-based order to see which is clearer for your use. It's a fast way to turn a messy, unordered paste from an email, spreadsheet column, or notes app into a clean, consistent list ready to reuse.
CÓMO USARLO
- Paste your list into the input box, one item per line.
- Pick a sort mode: A to Z, Z to A, shortest first, or longest first.
- Turn on duplicate removal if you want only unique lines.
- Check the output panel for the reordered list.
- Copy the result and paste it back into your document or spreadsheet.
CASOS DE USO COMUNES
- Alphabetizing a bibliography or works-cited list before submitting a paper
- Deduplicating a list of email addresses collected from multiple sign-up forms
- Sorting CSS class names or import statements so a codebase's style stays consistent
- Organizing a recipe's ingredient list alphabetically for easier scanning while shopping
- Cleaning up a list of keywords pulled from several spreadsheets into one unique set
CONSEJOS Y ERRORES COMUNES
- Sorting is typically case-sensitive, so uppercase and lowercase versions of the same word can land in different positions than expected
- Trailing spaces or invisible characters count as part of a line, so near-duplicates with extra whitespace may not get merged
- Sorting by length only orders by character count, lines of equal length keep their original relative order
- Remove stray blank lines before sorting, or they'll get shuffled into the result as empty entries
MÁS PREGUNTAS
- Does the tool change my original pasted text?
- No, it only reorders what's shown in the output box. Your original input stays in the input field until you replace or clear it yourself.
- How are numbers handled in alphabetical sort?
- Numbers sort as text characters, not as numeric values, so '10' comes before '2' because '1' is compared before '2' character by character.
- Will removing duplicates catch lines that only differ in capitalization?
- Typically no, exact-match deduplication treats 'Apple' and 'apple' as different lines since the comparison is case-sensitive by default.
- Can I sort a list that mixes short phrases and single words?
- Yes, alphabetical sort works fine on mixed content since it compares character by character regardless of phrase length; length-based sort is more useful if you specifically want to group short and long entries.