Search Ctrl K
Home / Tools
THE FEUTEX TOOLKIT

Inline Base64 Asset Overhead

Compare Base64 payload length with binary resource size and per-request overhead.

Networking workspace● Runs in your browser
01 Your input
02 Your result
View or copy raw result data
FormulaUncompressed inline length = 4*Math.ceil(bytes/3)+prefix; Inline minus external bytes = 4*Math.ceil(bytes/3)+prefix-bytes-request

Made for real tasks

  • Compare Base64 payload length with binary resource size and per-request overhead.
Explore step-by-step workflows →

Worked example

Inputs

Binary resource size
1000 bytes
Data URL prefix
22 bytes
External request overhead
500 bytes

Expected results

Uncompressed inline length
1358 bytes
Inline minus external bytes
-142 bytes

Load the example in the workspace to reproduce these results. Display rounding does not change the underlying calculation.

How to use this tool

  1. Enter binary resource size, data url prefix, external request overhead in the displayed units.
  2. Calculate the scenario, then compare it with measurements before changing a system.

Try this example

{
  "bytes": 1000,
  "prefix": 22,
  "request": 500
}

Accuracy and scope

Uncompressed transfer accounting; document compression, caching, URL length and CSP effects excluded.

Is my data uploaded?

This tool runs locally in your browser. Input and output are not sent to a processing server. Copy or download your result before leaving the page.