Julian Date Converter

Convert a calendar date to a Julian date — either the ordinal day-of-year form (the 5-digit code like 26206 used on packaging and lot numbers) or the astronomical Julian Day (JD) used in science — and convert either one back. Everything runs in your browser.

Right now (UTC): ordinal Julian date · Julian Day

Julian date vs Julian Day — which one do you need?

Two very different things share the name "Julian date". This tool handles both.

Ordinal Julian date (day of year). This is what most people outside astronomy mean. It's the day's position in the year — 1 to 365 or 366 — usually written as a five-digit YYDDD code (the last two digits of the year plus the three-digit day). For example, 25 July 2026 is the 206th day of the year, so its Julian date is 26206. You'll see it stamped on food packaging and pharmaceuticals, in manufacturing lot codes, on shipping labels and in older mainframe systems. Some systems use the seven-digit YYYYDDD form instead, e.g. 2026206.

Astronomical Julian Day (JD). Astronomers and programmers use the Julian Day: a single continuous count of days (and fractions of a day) since noon Universal Time on 1 January 4713 BC. Today it's around 2,461,000. Because it never resets and ignores months and leap years, it makes calculating the time between two events trivial — you just subtract. The Julian Day Number (JDN) is the integer part (the whole day starting at noon), and the Modified Julian Day (MJD = JD − 2,400,000.5) is a shorter version that starts each day at midnight, used widely in satellite and space data.

How to use the converter

1

Pick the type

Choose "Julian date (day-of-year)" for the ordinal/packaging format, or "Julian Day (astronomical)" for the scientific JD.

2

Enter either side

Type a calendar date to get the Julian value, or type a Julian value to get the calendar date — the conversion runs both ways and updates instantly.

3

Read the details

The result shows every form you might need — day of year, 5-digit and 7-digit codes, or JD, JDN and MJD with the UTC time.

Related tools

Related: Military time converter  ·  Date calculator  ·  Week number  ·  Days in a year

Frequently Asked Questions

What is a Julian date?
The term 'Julian date' is used for two different things. In everyday business, manufacturing and IT, it usually means the ordinal date — the day of the year from 1 to 365 (or 366), often written as a 5-digit YYDDD code such as 26206 for the 206th day of 2026. In astronomy, the Julian Date (JD) is a continuous count of days since noon on 1 January 4713 BC. This converter does both.
What is the 5-digit Julian date?
The 5-digit Julian date is the ordinal date written as the last two digits of the year followed by the three-digit day of the year. For example, 25 July 2026 is the 206th day of the year, so its 5-digit Julian date is 26206. It is widely used on food packaging, in manufacturing lot codes and on legacy mainframe systems. Some systems use the 7-digit form (YYYYDDD), e.g. 2026206.
Julian date vs Julian Day — what's the difference?
The ordinal Julian date resets to 001 every 1 January and only names a day within a year, which is why the 5-digit code carries the two-digit year in front of the day number. The astronomical Julian Day never resets — it is one ever-increasing number, around 2,461,000 today, that also carries the time of day as a fraction, so subtracting two JDs gives an exact elapsed time. Use the day-of-year tab for packaging and lot codes, and the Julian Day tab for science and date arithmetic.
What is the Modified Julian Day (MJD)?
The Modified Julian Day is the Julian Day minus 2,400,000.5. It was introduced to give shorter numbers and to start each day at midnight instead of noon. MJD 0 corresponds to 17 November 1858. It is common in satellite tracking and space-science data.
What is today's Julian date?
Today's Julian date is shown on the live line at the top of this converter: the current ordinal Julian date in 5-digit YYDDD form and the current astronomical Julian Day, both taken in UTC from your device clock. The ordinal figure rolls over at 00:00 UTC, while the Julian Day reaches a whole number at 12:00 UTC because a Julian Day begins at noon. Since both values come from your own machine, a device set to the wrong date will show the wrong Julian date.
What number formats can the Julian date box accept?
The Julian date box accepts the 5-digit YYDDD form (26206), the 7-digit YYYYDDD form (2026206) and separated forms such as 2026-206, 26-206 and 2026/206. A two-digit year is expanded using a 1969-2068 window, so 68 is read as 2068 and 69 as 1969. The day number is rejected if it is above 365 in a common year or above 366 in a leap year, which stops impossible codes such as 26366 from converting.