Skip to content

Tools/Line toolkit

Line toolkit

Sort, unique, shuffle, reverse, trim, and grep lines locally.

Loading tool…

How to use Line toolkit

  1. 1. Paste lines. Or drop a log file.
  2. 2. Pick an operation. Grep uses JavaScript regex.
  3. 3. Copy the result. Local only.
  4. 4. Shuffle uses Web Crypto. Not Math.random.

About this tool

Half of ops work is rearranging lines. Doing it in the tab beats uploading a customer log to a random website.

Grep

The pattern is a JS RegExp. Invalid patterns throw from the engine.

Unique

Keeps first occurrence order.

Code examples

grep

ERROR|WARN

Frequently asked questions

Related tools

All tools