Build a mileage log from your Google Maps Timeline
Drove for work this year and kept no log? Your phone did. Drop your Timeline export below and get your business miles, the 2026 IRS or HMRC deduction and a full trip log, without installing an app or creating an account.
Build your log
Or paste a list
One stop per line: date, optional time, address, and after a | an optional purpose. US dates as month/day, UK dates as day/month, or 2026-03-02.
How it works
- Export your Timeline from Google Maps on your phone (two minutes; see how to export Google Maps Timeline).
- Drop the file above. It is read in your browser. You see every drive in the tax year, how far it was, and the places you visit most.
- Name your places ("Home", "Client: Smith Dental", "Depot") and mark which are business. Business miles and the deduction update as you go.
- Export the log as a spreadsheet and a print-ready PDF with dates, from and to, purpose, miles, running totals, rates, odometer fields and a signature line.
Free
Total miles driven, number of trips, your top places, business miles and the deduction estimate at the official rates, and the first ten lines of your log.
$19 (UK £15) once per tax year
The full log: every trip with purpose, miles, running total and rate, as CSV and as a printable PDF, with vehicle and odometer details and a declaration to sign. No subscription.
Private by design
Your location file is never uploaded. Place names and choices are saved only in this browser so you can come back and finish later.
No Timeline? Use your calendar or a list
If Timeline was off, you use an iPhone without it, or auto-delete removed the months you need, switch to Calendar or address list above (step-by-step: mileage log from your calendar). Export your calendar as an .ics file (Google Calendar: Settings, Import and export, Export; Outlook: Save calendar; Apple Calendar: File, Export) or paste a list of dates and addresses from your job sheets or invoices.
- Every event with a street address becomes a stop; online meetings, events without a location and (unless you tick the box) all-day events are skipped. Repeating appointments are expanded, with deleted and moved instances handled.
- Each day runs from home, through the stops in time order, back home. The event title becomes the trip's purpose; you can change any of it.
- The free result estimates miles from the straight line between stops times 1.25. With the full log, the tool measures the driving distance of every leg with Google Maps.
- Only the addresses are sent to look them up; titles, descriptions and guests stay in your browser.
What the log contains
For each business trip: the date, start and end times, where you started, where you went, the business purpose you entered, the miles, a running total of business miles, the rate applied and the amount. At the end: total miles recorded, business miles by rate, the deduction, your vehicle, odometer readings at the start and end of the year, and a declaration with a signature line.
That covers the details the IRS lists in Publication 463 (Table 5-1) for car expenses: the mileage for each business use, the total miles for the year, the date, the destination and the business purpose. For the UK it gives the record of business miles that HMRC's simplified expenses flat rate is based on. Read what a mileage log must contain for the details, or the UK self-assessment guide.
Honest limits
- Distances are the ones Google Maps Timeline recorded. When a drive in the file has no distance and no GPS path, we use the straight line between its ends and mark the line "est."; that is shorter than the road, so it errs low.
- The log is only as complete as your Timeline. Days with location off or Timeline paused are missing, and we do not invent trips to fill them.
- A log built after the fact carries less weight than one kept as you go, and you still need to state a true business purpose for each trip. Our guide on what to do if you forgot to track mileage explains what the IRS says about this.
- This is a record-keeping tool, not tax advice.
Guides
- How to export Google Maps Timeline on Android and iPhone
- Forgot to track mileage? What the IRS accepts and how to rebuild a log
- Mileage log from Google Calendar, Outlook or Apple Calendar
- Delivery and rideshare drivers: DoorDash, Uber, Lyft miles
- Timeline history missing or only 90 days
- What a mileage log must contain, with 2026 rates and a free template
- HMRC mileage for self-assessment (UK)
- Ways to rebuild a mileage log: an honest comparison of the tools
Questions
Is my location history uploaded?
No. A Timeline file is opened and read by JavaScript in your browser, on your device. The trips, dates and times never leave it. If you click "Look up addresses", only the Google place IDs (or coordinates rounded to about 10 metres) of the places in your list are sent to our server to get street addresses, with no dates or trips. You can skip that step and type the names yourself.
Which files does it read?
Three kinds: the Timeline.json file you export on an Android phone, the location-history.json file you export from Google Maps on an iPhone, and the older Google Takeout "Semantic Location History" monthly files (or the whole Takeout .zip). Records.json from Takeout has raw points only and no trips, so it is not used.
Does it add trips I did not take?
No. Every line in the log is a drive that is in your own Timeline file. Back-to-back segments with no stop between them (for example a red light that Google split) are joined into one trip. If your Timeline has gaps, the log has gaps. We do not fill them with guesses, because a log with invented trips is a risk to you.
How does it decide what is business?
You mark places: home, a regular workplace, or a business stop such as a client, job site or supplier. A trip counts as business when either end is a business stop. Trips between home and a regular workplace are commuting and are not counted, unless you tick "My home is my main place of business". You can switch any single trip in the full log.
Which mileage rates does it use?
US: the IRS standard mileage rates by date. For 2026 that is 72.5 cents a mile from January 1 to June 30 and 76 cents from July 1 to December 31; for 2025 it is 70 cents. UK: HMRC simplified expenses. Cars and vans get 45p a mile for the first 10,000 business miles up to 5 April 2026 and 55p from the 2026-27 tax year, then 25p; motorcycles get 24p.
Is the log accepted by the IRS or HMRC?
The export contains the details the IRS lists in Publication 463 for car expenses: the date, the destination, the business purpose and the miles of each business trip, plus the total miles for the year. Whether a log is accepted depends on your situation and on the business purposes you enter. This tool is not tax advice; ask a tax professional if you are unsure.
What does the $19 buy?
$19 in the US or £15 in the UK buys one licence for one country and one tax year: the full log as a CSV spreadsheet and as a print-ready page you can save as PDF, with running totals, the rates applied, vehicle and odometer fields and a signature line. Export as often as you like. It is a one-off payment, not a subscription. The totals, the deduction estimate and the first ten lines are free.
I have no Timeline. Can I use my calendar?
Yes. Choose "Calendar or address list" and drop a calendar export (.ics from Google Calendar, Outlook or Apple Calendar) or paste a list of dates and addresses. The log contains only appointments that are in your calendar or list, with home at the start and end of each day if you tick that option. In this mode the addresses are sent to our server and Google Maps to place them and, with the full log, to measure driving distances; titles and descriptions stay in your browser.
My Timeline only goes back three months. Why?
Since Timeline moved onto phones, new users get auto-delete after 3 months by default, and older data may have been removed. Check the auto-delete and backup settings and any old phone; if your data is gone, the log can only cover the months you have. See Timeline history missing or only 90 days.
Rates checked on 2 December 2026: IRS standard mileage rates, GOV.UK simplified expenses for vehicles. Google, Google Maps and Timeline are trademarks of Google LLC; this tool is not made by or affiliated with Google.