Add a prefix or suffix to lines

Place the same literal text before or after each line without interpreting it as markup or code.

Runs in your browser. Your text is not uploaded.

Worked example

Before

alpha
beta

After

- alpha
- beta

The default dash-and-space prefix is inserted before each line.

Exactly what this changes

  • The default prefix is “- ” so a plain list becomes a simple dashed list immediately. You can replace it, add a suffix, or use both fields together. Every entered character is applied literally.
  • PlainSift does not execute or recognize HTML, URLs, template syntax, or programming-language fragments in either field. Those strings remain ordinary text in the output, just like the original line contents.
  • Line order and final-line-terminator state remain unchanged. By default even a zero-length line receives the prefix and suffix, which makes the formerly blank position visible in the transformed result.

Options and edge cases

  • Enable “skip empty lines” when true zero-length lines should pass through untouched. A line containing spaces is not considered empty; combine this step with Trim lines when spaces-only rows should also be skipped.
  • Prefix and suffix fields exist only inside the private workspace memory. They are not placed in the public page, URL, parent message, download filename, browser storage, or any request.

Edge case: The fixed text is added once per parsed line. It is not conditional on line content, and escape sequences such as backslash-n are not converted into extra line breaks.