Byte Drop — Remove a Byte Range

Delete a contiguous range of bytes from text, hex, or Base64 data by start offset and length, then view the remaining bytes as text, hex, or Base64. Runs entirely in your browser, no server, no sign-up.

Remaining bytes

What this tool does

Byte Drop removes a contiguous range of bytes from your data and returns the remainder — instantly, right in your browser. Give it a Start offset and a Length, and it deletes those bytes and keeps everything else. Nothing is sent to a server: it runs locally, works offline, and needs no sign-up.

It works on raw bytes, so it can interpret your input as text, a hex byte string, or Base64, and render the leftover bytes in any of those formats.

How it works

  1. The input is decoded into raw bytes using the Input format you pick.
  2. Starting at the Start offset (a 0-based byte position), Length bytes are removed.
  3. The remaining bytes — everything before the offset plus everything after the removed range — are joined and shown in the Output format.

Offsets and lengths are counted in bytes, not characters. For plain ASCII text a byte equals a character, but a multi-byte character (like an emoji or an accented letter) spans several bytes — switch the input/output to hex to see exactly where the byte boundaries fall.

Options

OptionWhat it does
Start offsetThe 0-based byte position of the first byte to remove. A negative value counts from the end (-1 is the last byte). Clamped to the buffer.
LengthHow many bytes to remove from the offset. 0 removes nothing; a range that runs past the end is clamped. Must be zero or positive.
Input formatHow to read your input: text (UTF-8), hex (48 65 6c or 0x48656c), or base64.
Output formatHow to show the remainder: text (UTF-8), hex, or base64. Use hex or base64 for binary data.

Examples

InputSettingsOutput
Hello, Worldstart 5 · length 4 · text → textHellorld
abcdefstart 0 · length 3 · text → textdef
abcdefstart -2 · length 2 · text → textabcd
00112233start 1 · length 2 · hex → hex0033
SGVsbG8=start 0 · length 1 · base64 → textello

FAQ

Is it free and private?

Yes — your input never leaves your device, and it keeps working offline once the page has loaded.

Are offsets in bytes or characters?

Bytes. For ASCII text the two are the same, but a multi-byte character spans several bytes. Switch to hex input/output to work at the exact byte level.

What happens if my range goes past the end?

It's clamped — the tool removes only the bytes that exist and never errors on an out-of-range length.

My output says the bytes aren't valid UTF-8.

Removing part of a multi-byte character can leave bytes that don't form valid text. Switch the Output format to hex or base64 to view the raw remaining bytes.

How do I remove from the end?

Use a negative Start offset — for example -4 with length 4 drops the last four bytes.

Developer & Automation Access

Run it from the terminal

Same engine as this page, headless — via the gizza CLI:

gizza tool byte-drop "Hello, World"

New to the CLI? Get gizza →

Open it by URL

Pre-fill and auto-run this tool with query parameters — the names match the API/CLI:

https://gizza.ai/tools/byte-drop/?input=Hello%2C%20World&start=5&length=7&format=text&output=text

Machine-readable descriptor: tool.json — title + parameters JSON Schema for agents.