Skip to main content

TTL Calculator

Convert a TTL value in seconds to a human-readable duration, and calculate the exact expiry time from a given start.

Inputs

Enter a TTL in seconds (0 = no cache)

Leave blank to use current time. Format: YYYY-MM-DD HH:MM:SS

TTL Details

Results will appear here.

DNS Time-To-Live values are specified in seconds, but human-readable durations (hours, minutes, days) are far easier to reason about when setting cache policies or planning maintenance windows. A TTL of 86400 seconds is a 24-hour cache lifetime β€” easy to misread or miscalculate when you are working quickly under pressure.

This tool converts any TTL value in seconds to a clear, human-readable breakdown (days, hours, minutes, seconds) and also converts in the reverse direction, accepting a natural-language duration and outputting the equivalent seconds for use in DNS zone files or API calls.

How to Convert a DNS TTL Value Online

  1. 1

    Enter a TTL value in seconds

    Type a TTL (Time To Live) value in seconds (e.g., 3600, 86400). The calculator accepts any positive integer.

  2. 2

    The tool converts to human-readable format

    The calculator converts seconds into days, hours, minutes, and seconds. It also calculates the expiry time if you provide a start time.

  3. 3

    View the results

    The calculator displays both the converted duration and the exact expiry timestamp. Copy the values for your DNS configuration documentation.

How DNS TTL Affects Caching

TTL is a 32-bit unsigned integer in DNS resource records (RFC 1035) representing the number of seconds a resolver may cache the record. When a resolver fetches a record, it stores it with a countdown timer initialised to the TTL. Any subsequent query within that window is answered from cache; after expiry, the resolver must fetch a fresh copy from the authoritative server.

TTL strategy involves a trade-off: high values (86400s = 1 day) reduce DNS query load and speed up responses for end users, but slow down propagation of changes. Low values (60–300s) enable rapid changes β€” important before migrations β€” but increase authoritative query volume and may degrade performance for users served by distant or slow resolvers.

Why Use FileCrank TTL Calculator

  • βœ“ Converts DNS TTL values from seconds to human-readable duration (days, hours, minutes, seconds)
  • βœ“ Calculates exact expiry time and date from a given start time
  • βœ“ Displays multiple TTL preset recommendations (300s for testing, 3600s standard, 86400s conservative)
  • βœ“ Runs entirely in your browser β€” no data transmission
  • βœ“ Essential for DNS management, caching strategy, and migration planning

Features & Specs

Max File Size
Up to 100 MB
Privacy
Files deleted after about an hour
Price
Free, no signup
Processing
Server-side
Processing
100% client-side
Input format
TTL in seconds; optional start time
Output format
Duration and expiry timestamp
Cost
Free β€” no limits
Runs entirely in your browser β€” no data is sent to any server.No registration required.Free β€” no hidden fees.

Frequently Asked Questions

How do I use the TTL Calculator?

Enter a TTL value in seconds (e.g., 3600) and the tool instantly converts it to a human-readable duration (1 hour). You can also enter a start time to calculate the exact expiry date and time.

What is DNS TTL?

TTL (Time To Live) is a value in DNS records that specifies how long other DNS servers should cache the record before querying the authoritative nameserver again. Lower TTLs = more frequent updates; higher TTLs = better performance but slower updates.

How does TTL affect DNS propagation?

Higher TTL values mean cached records persist longer, slowing DNS propagation of changes. Before making DNS changes, lower your TTL to 300–600 seconds, wait 24 hours, make the change, then restore your original TTL.

What TTL should I set for my DNS records?

Standard practice is 3600 seconds (1 hour) for stable records. For frequently changing records, use 300–900 seconds. During domain migrations or testing, use 300 seconds for rapid updates. Be conservative (86400+ seconds) only for rarely-changed records.

Does the calculator send my TTL data anywhere?

No. All TTL conversions run entirely in your browser. Your DNS configuration data never contacts any server.

What does it mean if my TTL is very high (86400+)?

A very high TTL (24+ hours) means DNS records are cached for a long time, improving performance but making changes slow to propagate. This is appropriate only for stable records that rarely change.

TTL Calculator vs. Manual Division

Dividing seconds by 3600 and 86400 in your head is fast enough for round numbers but introduces errors for values like 43200 (12 hours) or 14400 (4 hours). This tool eliminates the arithmetic, presents the result in a clear decomposed format, and supports reverse conversion β€” useful when a runbook says 'set TTL to 5 minutes' and you need the exact seconds value for a zone file.

FileCraft TTL Calculator converts DNS TTL (Time To Live) values in seconds to human-readable durations (days, hours, minutes, seconds) and calculates exact record expiry times from a given start timestamp. All conversions run entirely client-side β€” no data is transmitted. Free to use with no account required. Also searchable as: TTL calculator, DNS TTL converter, time to live calculator, DNS cache duration.

Advertisement

Ad