English
简体中文繁體中文EnglishРусскийفارسی

HomeUtilitiesSubscription info converter

Subscription info converter

Paste the subscription-userinfo response header and convert it locally in your browser into traffic used, traffic left, the expiry date and days remaining, to compare with the numbers on FlClash's profile card.

Accepts the subscription-userinfo line (upload=…; download=…; total=…; expire=…). Calculated in your browser only and never sent.

Where this line comes from

When a provider returns a subscription, it usually adds a response header called subscription-userinfo, which looks like this:

Example
upload=2375037926; download=48318382080; total=107374182400; expire=1798761600

All four fields are integers: upload and download are the bytes used so far, total is the allowance, and expire is the expiry as a Unix timestamp (seconds since 1 January 1970). FlClash reads it and shows "how much used, how many days left" on the profile card.

A car's fuel gauge: subscription info is a traffic gauge
A car's fuel gauge: subscription info is a traffic gauge Pittigrilli, CC BY-SA 4.0

Why work it out yourself

  • When FlClash's card and the provider's dashboard disagree, find out which one is wrong.
  • To estimate how many days are left at your current pace, first see clearly how much is used.
  • Some subscriptions send no total, which may mean an unlimited plan; the utility points this out.
AdLuoboyunTraffic running short by the numbers? Try another provider first: Luoboyun gives 1 GB on sign-up for 24 hours; Alipay and WeChat accepted.Try 1 GB

Conversion rules

FieldUnitHow it is shown here
upload, download, totalBytesConverted to KB, MB, GB in 1024 steps
expireUnix secondsTurned into a UTC date, then days remaining

Some provider dashboards use 1000 steps, which makes the same number look slightly larger; a 100 GB plan differs by about 7% between the two.

Seeing it in FlClash

After importing a subscription, the profile card shows a progress bar and the days left. If it shows nothing, that subscription address probably does not send this line, which has nothing to do with FlClash.

Is what I paste sent anywhere?

No, everything is calculated in your browser.

It says "No expiry given"?

expire is 0 or missing; the provider set no expiry.

Can I keep using it after exceeding the total?

That depends on the provider. Most stop the nodes, and updating the subscription may be refused.

Related settings

On this page: subscription traffic calculator, subscription-userinfo, subscription expiry date