- All tools
- Text Tools
Extract substring
Extract substring
World's simplest browser-based utility for extracting substrings from text. Input your text and specify start and end positions to extract the desired portion. Perfect for data processing, text analysis, or extracting specific content from larger text blocks.
Extract substring Examples
Click to try!
Extract First 5 Characters
This example extracts the first 5 characters from the text.
Extraction options
Start position (1-based index)
Number of characters to extract
Extract from each line independently
Reverse the extracted substring
Extract Words from the Middle
Extract a substring starting from position 11 with a length of 10 characters.
Extraction options
Start position (1-based index)
Number of characters to extract
Extract from each line independently
Reverse the extracted substring
Multi-line Extraction with Reversal
Extract characters 1-3 from each line and reverse them.
Extraction options
Start position (1-based index)
Number of characters to extract
Extract from each line independently
Reverse the extracted substring
Related tools
- All tools
- Text Tools
- SplitSplit text into multiple parts using a separator
- Join TextJoin text elements with a specified separator
- Remove duplicate linesQuickly delete all repeated lines from text
- String To morseQuickly encode text to morse
- Text ReplacerQuickly replace text in your content
- Repeat TextRepeat text multiple times
- Truncate TextTruncate text to a specified length
- Reverse TextReverse any text character by character
- Randomize caseRandomize the case of letters in text
- Convert to UppercaseConvert text to uppercase
- Create palindromeCreate text that reads the same forward and backward
- PalindromeCheck if text reads the same forward and backward
- Text QuoterAdd quotes around text with various styles
- Rotate TextShift characters in text by position.
- ROT13 Encoder/DecoderEncode or decode text using ROT13 cipher.
- Base64 Encoder/DecoderEncode or decode data using Base64.
- Text StatisticsGet statistics about your text
- Text CensorQuickly mask bad words or replace them with alternative words.
- Password GeneratorGenerate secure random passwords with custom options
- String URL encoderQuickly URL-escape a string.
- String URL decoderQuickly URL-unescape a string.
- URL EditorInspect and edit URL components and query parameters.
- Unicode Encoder / DecoderEncode or decode text using Unicode escape sequences.
- Hidden Character DetectorFind hidden Unicode characters in text
- Email ExtractorExtract email addresses from text
- Compare TextsCompare two texts and spot differences instantly
- Slug GeneratorGenerate URL-friendly slugs from text.
- BcryptHash strings with Bcrypt
- Table Text ConverterConvert tables between Markdown, CSV, HTML, MySQL, and JSON
- UUID GeneratorCryptographically secure RFC 4122 v4 UUID generator.
- Lorem Ipsum GeneratorPlaceholder text generator by words, sentences, or paragraphs.
- Markdown PreviewerFast, secure Markdown editor with real-time sanitized preview.
- Case ConverterConvert text across casing conventions and programming styles.