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

Prefix: Enter the text that you wish to add to the beginning of each line (e.g., "https://", "Item: ", "var ").Suffix: Type the text you want added to the end of every line (e.g. ".com", ";", " - Processed").Trim whitespace: Check this to trim leading/trailing spaces from each line before applying the prefix/suffix. This is important for clean code/data.Skip empty lines: Check this. Ignore blank lines in your input (don't add prefixes/suffixes to nothing).Input (filenames list):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 parameter/value lists.?utm_source=newsletter&utm_medium=email) to a list of base URLs. Develop uniform social media hashtags or mentions.INSERT INTO table VALUES (' as a prefix and '); as a suffix). Add quotation marks or other delimiters to raw data lists._v2) or project codes. Prefix common directory components to build hierarchical lists of file paths.[1]) or cite to format bibliographic entries. Make lists of terms that share a definition or category prefix.Not at all. The tool is non-destructive and operates on a duplicate of your input. Your original text in the top box stays the same. The changed output is shown in the separate output box below. So you can safely explore without losing your source data.
This tool is versatile. This can be used to add a prefix only, a suffix only or both at once. If you leave one of the fields blank, it just won’t add anything in that direction. For example a list of file names can be turned into a list of archive names by simply appending the suffix .zip.
These are independent cleanup routines. “Trim whitespace” eliminates spaces, tabs or newline characters from the beginning and end of each line of text. A line such as “ data ” is converted to “ data ” before processing. Skip empty lines ignores lines that are empty (i.e., have no characters in them) (they are skipped in the output). You can combine both options for the cleanest possible result.