Text Tools
WorkingSort or deduplicate lines, remove breaks, convert LF/CRLF/CR and change supported text encodings locally. Free, no upload. Review lossy transforms and warnings.
Sort or deduplicate lines, remove breaks, convert LF/CRLF/CR and change supported text encodings locally. Free, no upload. Review lossy transforms and warnings.
Text Tools
WorkingThis tool is working for the representative inputs recorded in its tests. Processing happens locally; different files, settings and browsers can still have limits. Text transforms can intentionally reorder, remove or re-encode content. Legacy encodings may replace unsupported characters and report warnings; uploaded files/output are capped at 32 MiB.
Pasted text is browser Unicode and is encoded as UTF-8 before processing. Source-encoding selectors apply only to uploaded files.
Choose a file to preview
Natural sorting keeps embedded numbers in human order; numeric sorting compares complete finite numbers and falls back to text for other lines.
The first occurrence is kept by default and surviving lines retain their source order.
Space is the safe default so words on adjacent lines are not joined accidentally.
The result reports detected LF, CRLF and CR counts, mixed or absent endings, and final-newline state. Non-ending content is preserved.
UTF-16 output always includes its required byte-order mark. Single-byte encodings have no BOM. Unsupported target characters become “?” and are reported.
Pasted text is browser Unicode encoded as UTF-8. Uploaded files can use the explicit source-encoding controls. Files and generated output are limited to 32 MiB.
Validated locally: file type, size and browser support are checked before anything runs
Preparing your file
Reading the file locally and checking that its type and size match what this tool expects. Nothing has been uploaded.
Processing text
This conversion runs locally in your browser using native text APIs.
You can leave this tab open in the background — the conversion keeps running on your device, and progress is reported when you come back.
Conversion complete
Your converted file is ready to download.
Choose a file to preview
Run the tool to preview its result
The converted file was assembled in your browser and is released when you leave or reset this page
Something went wrong
The conversion could not be completed. Nothing was uploaded, and no partial file was saved.
This file or browser is not supported
The engine could not process this file in this browser. Nothing was converted or uploaded. Check this tool's limits and try a supported input.
Text Tools combines five independent operations in one coherent workspace. Sort Lines supports alphabetical, natural, numeric and length ordering with ascending or descending direction and case handling. Deduplicate Lines preserves first occurrence order by default, with case-insensitive and keep-last choices. Remove Line Breaks can join with spaces, preserve paragraph boundaries, remove separators or use a bounded literal custom separator.
Line Ending conversion detects LF, CRLF, CR, mixed or absent newlines and can preserve or deliberately change a final newline. Encoding conversion supports the explicit character sets offered by the selectors, including UTF-8, UTF-16 variants and limited legacy encodings. Wrong source choices or restricted targets can replace characters, so warnings must be reviewed. Sorting and deduplication can normalize line representation. Keep the original when order, bytes, checksums or signatures matter.
Several operations are intentionally lossy: lines can be reordered or removed, separators can replace newlines and legacy encodings may substitute unsupported characters. Detection is not proof of the original producer's encoding.
Uploads and outputs are bounded to protect browser memory. The workspace is for supported text, not arbitrary office documents or binary files, and processing can still be synchronous for large inputs.
Use the supported inputs and settings described below.
Choose or paste supported text, then select one of the five operations.
Set only the options shown for that operation. For encoding, verify both source and target; for custom separators, enter the literal bounded text to insert.
Run the operation and read line-ending metadata, encoding warnings or validation errors before downloading.
Copy or download the result and compare it with the source, especially after ordering, removal, newline or legacy-encoding changes.
Answers about this specific workflow, not a promise for every file.
Yes by default it keeps the first occurrence in original order. Keep-last changes which duplicate survives while retaining deterministic ordering.
Yes. The detector reports mixed input and the selected target normalizes supported line endings consistently.
Not when the target character set lacks a source character. The implementation reports supported replacement warnings; choose Unicode output when appropriate.
No. It is inserted as bounded literal text, which avoids silently treating backslash sequences as hidden control characters.
Same source format, reverse conversions and relevant alternatives.
Text & Encoding
Compare two UTF-8 text files locally and download a line-based JSON diff report. Free, no signup or file upload. Not a binary checksum or full document-layout comparison.
Text & Encoding
Convert timestamp/date lines locally using direction, seconds or milliseconds and a timezone. Free, no signup or upload. Unreadable lines can remain unchanged; inspect output.
Text & Encoding
Percent-encode or decode URL components, full URLs and form data locally with UTF-8 support. Invalid percent escapes are reported. Free, no upload or signup.
Format readable JSON, create compact JSON or validate JSON syntax locally with useful parser errors. Free, no upload or signup; not JSON Schema validation.
Documents
Count words, characters, lines, sentences and paragraphs locally from pasted text or supported documents. Free, no signup or upload. Scanned PDFs need OCR elsewhere.
Developer & Security
Decode JWT headers and claims locally without uploading tokens. Free, no signup. This does not verify signatures or establish authorization; expiry uses the device clock.