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.

Input text

Extracted text

Tool options

Extraction options

Start position (1-based index)

Number of characters to extract

Extract from each line independently

Reverse the extracted substring


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


All Text Tools

Split

Split text into multiple parts using a separator

Join Text

Join text elements with a specified separator

Remove duplicate lines

Quickly delete all repeated lines from text

String To morse

Quickly encode text to morse

Text Replacer

Quickly replace text in your content

Repeat Text

Repeat text multiple times

Truncate Text

Truncate text to a specified length

Reverse

Reverse any text character by character

Randomize case

Randomize the case of letters in text

Convert to Uppercase

Convert text to uppercase

Create palindrome

Create text that reads the same forward and backward

Palindrome

Check if text reads the same forward and backward

Text Quoter

Add quotes around text with various styles

Rotate Text

Shift characters in text by position.

ROT13 Encoder/Decoder

Encode or decode text using ROT13 cipher.

Base64 Encoder/Decoder

Encode or decode data using Base64.

Text Statistics

Get statistics about your text

Text Censor

Quickly mask bad words or replace them with alternative words.

Password Generator

Generate secure random passwords with custom options

String URL encoder

Quickly URL-escape a string.

String URL decoder

Quickly URL-unescape a string.

Unicode Encoder / Decoder

Encode or decode text using Unicode escape sequences.

Hidden Character Detector

Find hidden Unicode characters in text