Extract Last Characters from Text

Number of characters to extract:

How to Use This Tool

  1. Enter Your Text
    • Paste or type any text in the input box
    • Works with single lines or multiple lines of text
  2. Choose Extraction Method
    • Each line: Extract from every line separately
    • Whole text: Extract from the entire text as one
    • Include spaces: Count spaces as characters when checked
  3. Specify Character Count
    • Enter how many characters to extract from each source
    • Minimum 1, maximum 100 characters
  4. Get Your Result
    • Copy extracted text with one click
    • Download as .txt file for larger results

Practical Examples

Extracting File Extensions

Original text:

document.pdf
image.jpg
spreadsheet.xlsx
presentation.pptx

Extracting last 3 characters from each line:

pdf
jpg
lsx
ptx

Getting Domain Extensions

Website URLs:

https://www.example.com
https://subdomain.example.org
https://another.example.co.uk

Extracting last 3 characters from each line:

com
org
.uk