slice()Extracts part of string by indexExtract
"hello".slice(1,3) // "el"substring()Like slice but no negative indicesExtract
"hello".substring(0,3) // "hel"split()Splits string into arrayTransform
"a,b,c".split(",") // ["a","b","c"]replace()Replaces first matchTransform
"foo bar".replace("foo","baz") // "baz bar"replaceAll()Replaces all matchesTransform
"aaa".replaceAll("a","b") // "bbb"trim()Removes whitespace from both endsTransform
" hi ".trim() // "hi"trimStart()Removes whitespace from startTransform
" hi".trimStart() // "hi"trimEnd()Removes whitespace from endTransform
"hi ".trimEnd() // "hi"toUpperCase()Converts to uppercaseCase
"hello".toUpperCase() // "HELLO"toLowerCase()Converts to lowercaseCase
"HELLO".toLowerCase() // "hello"charAt()Returns char at indexSearch
"hello".charAt(0) // "h"charCodeAt()Returns UTF-16 code at indexSearch
"A".charCodeAt(0) // 65indexOf()Returns index of first matchSearch
"hello".indexOf("l") // 2lastIndexOf()Returns index of last matchSearch
"hello".lastIndexOf("l") // 3includes()Checks if string contains substringSearch
"hello".includes("ell") // truestartsWith()Checks if starts with substringSearch
"hello".startsWith("he") // trueendsWith()Checks if ends with substringSearch
"hello".endsWith("lo") // truematch()Matches against regexRegex
"abc123".match(/\d+/) // ["123"]matchAll()Returns all regex matchesRegex
"aAbB".matchAll(/[a-z]/g)search()Returns index of regex matchRegex
"abc123".search(/\d/) // 3repeat()Repeats string N timesTransform
"ab".repeat(3) // "ababab"padStart()Pads start to target lengthTransform
"5".padStart(3,"0") // "005"padEnd()Pads end to target lengthTransform
"5".padEnd(3,"0") // "500"concat()Concatenates stringsTransform
"hi".concat(" ","there") // "hi there"at()Returns char at index (supports negative)Search
"hello".at(-1) // "o"Get a free API key + new tools as they ship
100 calls/day, no card, no spam. Built by one person, in public.
About String Methods
When you need developer and design work done in seconds, String Methods delivers a clean, focused interface without the friction of a generic tool. Built to be the kind of tool you bookmark and use weekly: no surprises between visits, no degraded free tier, and a UI that gets out of the way. If you find yourself doing this regularly, the rest of the developer suite covers most adjacent tasks with the same approach.
When you'd reach for String Methods
You're on a public or shared machine and don't want to leave traces of what you're working on.
Travelers, contractors, anyone working from a friend's computer.
Nothing is uploaded, nothing persists if you're not signed in.
You're hitting the daily limit of a paid SaaS and need a backup option for a single quick job.
Marketers and ops people whose primary tool is metered.
Stay productive without burning credits.
You're cleaning up a folder of files that accumulated over a project and need to standardize them.
Designers, writers, and developers wrapping up deliverables.
Drop each file in, copy the output, move on.
You need to handle a one-off task right before a meeting and don't have time to install anything.
Anyone working remotely on a borrowed or restricted machine.
Open the page, get the result, paste it into your doc — under a minute.
Frequently asked about String Methods
- Does String Methods work on mobile?
- Yes, String Methods is fully responsive and tested on iOS Safari and Android Chrome.
- Is String Methods really free?
- Yes — String Methods is free for unlimited personal use, with no account required and no watermark on the output.
- Can I use String Methods commercially?
- Yes. The output of String Methods belongs entirely to you, with no licensing restrictions.
- Are my files uploaded to a server when I use String Methods?
- String Methods processes everything in your browser using local APIs. Your files never leave your device.
- Do I need to create an account to use String Methods?
- No. String Methods works without any signup. We only ask for an email if you decide to subscribe to a paid plan.
