Diff de texte
Compare two text blocks line by line using the LCS algorithm. Supports ignoring whitespace and case. Gratuit, privé et 100% côté client.
Local only
Historique récent
Aucun historique
Utilisation
- Paste the original text into the input box.
- Ajouter a separator line containing only ---.
- Paste the modified text below the separator.
- Toggle ignore whitespace or ignore case if needed, then read the diff.
Tâches utilisant cet outil
Calculer edit distance (Levenshtein)
Éditer distance measures le minimum nombre de insertions, deletions, et substitutions en transformer one chaîne en another. Utilisé en spell checking et fuzzy matching. TÂCHE
Calculer Levenshtein distance
Levenshtein distance measures le minimum edits (insert, supprimer, substitute) en transformer one chaîne en another. Utilisé en spell checking et fuzzy matching. TÂCHE
Comparer two texts and show the differences
Comparer les différences two versions of a text to see insertions, deletions, and modifications at the line or character level. TÂCHE
Calculer cosine similarity between texts
Cosine similarity measures le angle entre texte vectors, indicating semantic similarity. Utilisé en search, clustering, et recommendation. TÂCHE
Compter words, characters, and analyze text statistics
Obtenir word count, character count, line count, reading time, and frequency analysis for a block of text. TÂCHE
Déboguer regex motifs étape par étape
Déboguer regex par testing against sample inputs, visualizing le correspondre, et understanding pourquoi un motif matches ou fails. Utiliser flags correctly. TÂCHE
Optimiser regex pour performance
Lent regex peut cause ReDoS (Regular Expression Denial de Service). Apprendre en identifier et fix catastrophic backtracking, utiliser atomic groups, et anchor motifs. TÂCHE
Utiliser regex quantifiers: *, +, ?, {n,m}
Quantifiers specify comment plusieurs times un motif repeats. Apprendre greedy, lazy, et possessive matching en avoid catastrophic backtracking. TÂCHE
Pipelines utilisant cet outil
Questions fréquentes
- How do I provide two texts to compare?
- Enter the original text, then a line containing only ---, then the modified text. The tool computes a line-level diff between the two blocks.
- What do the prefix symbols mean?
- Lines prefixed with + are added in the second text, - are removed from the first text, and a space prefix means the line is unchanged.
Outils associés
Trier et dédupliquer
Sort lines alphabetically, numerically, by length, or naturally; deduplicate; reverse or shuffle. Gratuit, privé et 100% côté client. OUTIL
Inversion de chaîne
Reverse text by characters, lines, or words. Unicode-safe for emoji and surrogate pairs. Gratuit, privé et 100% côté client. OUTIL
Compteur de mots
Count characters, words, lines, sentences, paragraphs, byte size, and estimate reading time. Gratuit, privé et 100% côté client. OUTIL