Easily add prefixes and suffixes to multiple lines of text at once

Prefix: Enter the text you want added to the beginning of every line (e.g., "https://", "Item: ", "var ").Suffix: Enter the text you want added to the end of every line (e.g., ".com", ";", " - Processed").Trim whitespace: Check this to remove any leading/trailing spaces from each line before adding the prefix/suffix. This is crucial for clean code or data.Skip empty lines: Check this to ignore blank lines in your input, preventing the tool from adding prefixes/suffixes to nothing.Input (List of filenames):sunset.jpg
portrait.png
logo.svg
graphic.gif
Prefix: <img src="assets/
Suffix: " alt="image">
Output (Processed HTML):<img src="assets/sunset.jpg" alt="image">
<img src="assets/portrait.png" alt="image">
<img src="assets/logo.svg" alt="image">
<img src="assets/graphic.gif" alt="image">
sudo , git ), variable declarations ($, var ), or language-specific syntax (semicolons ;, commas ,) to lists of parameters or values.?utm_source=newsletter&utm_medium=email) to a list of base URLs. Create standardized social media hashtags or mentions.INSERT INTO table VALUES (' as prefix, '); as suffix). Add quotation marks or delimiters to raw data lists._v2) or project codes. Create structured lists of file paths by adding a common directory prefix.[1] ) or citation markers. Prepare lists of terms with a common definition or category prefix.No. The tool is non-destructive and works on a copy of your input. Your original text in the top box remains unchanged. The modified result appears in the separate output box below. You can safely experiment without losing your source data.
The tool is flexible. You can use it to add only a prefix, only a suffix, or both simultaneously. If you leave one field empty, it simply won't add anything from that side. For example, adding only the suffix ".zip" will turn a list of filenames into a list of archive names.
These are distinct cleanup functions. "Trim whitespace" removes spaces, tabs, or newline characters from the start and end of each line of text. A line like " data " becomes "data" before processing. "Skip empty lines" completely ignores lines that contain no characters at all (they are omitted from the output). You can use both options together for the cleanest possible result.