Take bytes

Takes a slice of the specified number of bytes from the data. Negative values are allowed.

Input: Text (UTF-8) or original file bytesResult: Binary bytes

Text input

Tool options

Examples

Keep a header fragment from bitcoin genesis newspaper headline

Input

a6d72baa3db900b03e70df88.bin

69 bytes

Download

Expected answer

UTF-8 text · exact bytes
The T
Start
0
Length
5
Apply to each line
Off
Keep a header fragment from a registry credential from kubernetes documentation

Input

fe1f3840edb48d1963b07a5b.bin

14 bytes

Download

Expected answer

UTF-8 text · exact bytes
tiger
Start
0
Length
5
Apply to each line
Off
Keep a header fragment from a checksum-sensitive log line with a final newline

Input

df94d052096ee71cc4419345.bin

26 bytes

Download

Expected answer

UTF-8 text · exact bytes
event
Start
0
Length
5
Apply to each line
Off
Keep a header fragment from a french café in precomposed unicode

Input

850f7dc43910ff890f8879c0.bin

5 bytes

Download

Expected answer

UTF-8 text · exact bytes
café
Start
0
Length
5
Apply to each line
Off
Keep a header fragment from a french café with a separate combining accent

Input

81ef060bcd98adc7824eb5c1.bin

6 bytes

Download

Expected answer

Hexadecimal bytes
63 61 66 65 cc
Start
0
Length
5
Apply to each line
Off
Keep a header fragment from chinese text in a utf-8 request body

Input

46932f1e6ea5216e77f58b19.bin

15 bytes

Download

Expected answer

Hexadecimal bytes
e4 bd a0 e5 a5
Start
0
Length
5
Apply to each line
Off
Keep a header fragment from a literal plus and space inside a url parameter

Input

16f7aa833be1220104d7ac50.bin

18 bytes

Download

Expected answer

UTF-8 text · exact bytes
relea
Start
0
Length
5
Apply to each line
Off

Parameters

ParameterDefault valueInput and choices
Start0Number
Length5Number
Apply to each linefalseOn or off

Related tools

Browse utils tools