Prefix Suffix Generator
Add the same prefix and suffix to every line in one click — perfect for wrapping URLs, hashtags and SQL fragments.
What is Prefix Suffix Generator?
You have 200 bare domains and need 'https://' on each. Or 200 IDs and need 'DELETE FROM users WHERE id =' on each. Manual repetition is unthinkable.
Paste your list, type a prefix or suffix, and get every line wrapped consistently.
If you're prepping crawler input, you add protocols to domains. If you're scheduling social posts, you tag hashtag lists for Buffer or Hootsuite. If you're scripting IT batches, you wrap IDs with command fragments.
How to use Prefix Suffix Generator
Four steps. No setup, no signup.
Step 1
Paste your bare list
Step 2
Type the prefix and/or suffix
Step 3
See every line wrapped
Step 4
Hit Copy and paste into your script
Example
Bare list wrapped with prefix and suffix.
Input
toolkno.com example.com mysite.com Prefix: https:// Suffix: /api
Output
https://toolkno.com/api https://example.com/api https://mysite.com/api
Why Prefix Suffix Generator is useful
- ✓
Wrap bare domains with protocols in one pass.
- ✓
Build SQL or shell command lines from ID lists.
- ✓
Tag every line of a hashtag list for scheduling tools.
- ✓
Toggle skip-blanks to leave empty rows alone.
Common questions
Can I use just a prefix?
Yes, leave suffix empty.
Tip: Useful for adding 'https://' to domains.
Are blank lines wrapped too?
By default yes. Toggle skip-blanks to leave them alone.
Tip: Always skip blanks when building SQL.
Can I wrap each line in quotes?
Yes, set prefix and suffix both to a single quote.
Tip: Combine with Text Joiner for 'a','b','c' format.
Multi-character prefixes?
Yes, any string including tabs, newlines and Unicode.
Tip: Tab prefix indents code one level.
Last reviewed: April 2026 · Free, browser-based, no signup.
Related tools you might like
Hand-picked tools that pair well with this one.
Lorem Ipsum Generator
Generate placeholder text for websites, apps and documents
Random Word Generator
Generate random words for writing, brainstorming and testing
Random Sentence Generator
Generate random sentences for layout testing and writing practice
Random Paragraph Generator
Generate random paragraphs for mockups and wireframes