# SortLines > SortLines is a free, browser-based text list workbench. It sorts, deduplicates, compares, reverses, randomizes and cleans line-based lists. All pasted text is processed locally in the browser and is never uploaded or stored on the server. ## English tools - [Sort lines](https://sortlines.com/sort-lines/): Sort lines A–Z, Z–A, naturally, numerically or by length, with optional cleanup and visible change review. - [Remove duplicate lines](https://sortlines.com/remove-duplicate-lines/): Keep one occurrence of each line, preserve order or sort the unique result. - [Remove empty lines](https://sortlines.com/remove-empty-lines/): Delete blank or whitespace-only lines, or collapse consecutive blank lines. - [Compare lists](https://sortlines.com/compare-lists/): Find items only in A, only in B, shared items, the union and the symmetric difference. - [Find duplicate lines](https://sortlines.com/find-duplicate-lines/): List repeated values with occurrence counts and line numbers. - [Randomize list](https://sortlines.com/randomize-list/): Shuffle a list or pick one or three random items. - [Reverse lines](https://sortlines.com/reverse-lines/): Reverse line order or flip consecutive pairs. - [Clean keyword lists](https://sortlines.com/clean-keyword-lists/): Trim, lowercase, deduplicate and sort SEO or PPC keyword exports. - [About SortLines](https://sortlines.com/about/) - [Privacy policy](https://sortlines.com/privacy/) - [Contact](https://sortlines.com/contact/) ## Ferramentas em português do Brasil - [Ordenar linhas](https://sortlines.com/pt-br/ordenar-linhas/): Ordene linhas de A a Z, de Z a A, natural, numericamente ou por comprimento, com limpeza e revisão das alterações. - [Remover linhas duplicadas](https://sortlines.com/pt-br/remover-linhas-duplicadas/): Mantenha uma ocorrência de cada linha, preserve a ordem ou ordene o resultado único. - [Remover linhas vazias](https://sortlines.com/pt-br/remover-linhas-vazias/): Apague linhas em branco ou com apenas espaços, ou agrupe linhas vazias consecutivas. - [Comparar listas](https://sortlines.com/pt-br/comparar-listas/): Encontre itens apenas em A, apenas em B, em ambas as listas, a união e a diferença simétrica. - [Encontrar linhas duplicadas](https://sortlines.com/pt-br/encontrar-linhas-duplicadas/): Liste valores repetidos com contagem de ocorrências e números das linhas. - [Embaralhar lista](https://sortlines.com/pt-br/embaralhar-lista/): Embaralhe uma lista ou escolha um ou três itens aleatórios. - [Inverter linhas](https://sortlines.com/pt-br/inverter-linhas/): Inverta a ordem das linhas ou troque pares consecutivos. - [Limpar palavras-chave](https://sortlines.com/pt-br/limpar-palavras-chave/): Remova espaços, converta para minúsculas, elimine duplicatas e ordene exportações de SEO ou PPC. - [Sobre o SortLines](https://sortlines.com/pt-br/sobre/) - [Política de privacidade](https://sortlines.com/pt-br/privacidade/) - [Contato](https://sortlines.com/pt-br/contato/) ## Notes - Canonical origin: https://sortlines.com - Languages: English (`en`) and Brazilian Portuguese (`pt-BR`). The English pages are the `x-default` alternate. - The old Spanish URLs under `/es/` permanently redirect to the corresponding `/pt-br/` pages. - Structured data: WebSite, Organization, SoftwareApplication, FAQPage and BreadcrumbList. - Sitemap: https://sortlines.com/sitemap.xml