If you only need to register a domain — not full hosting — the comparison between Hostinger and GoDaddy looks a little different than a full hosting comparison.
First-year pricing
GoDaddy frequently runs aggressive first-year discounts on domains, sometimes undercutting most competitors initially. Hostinger's standalone domain pricing is reasonable but not usually the cheapest entry price you'll find.
Renewal pricing
This is where it matters more. GoDaddy's renewal prices on domains often jump well above the first-year rate. Hostinger's renewal pricing tends to be more consistent year over year, which matters if you're planning to keep the domain long-term.
The better path for most people
If you need hosting too, getting your domain free with a Hostinger yearly hosting plan (using code QGNAFFBUSPYA for 20% off) is usually the cheapest overall combination, since you're not paying for a domain separately.
Free domain offer: Hostinger yearly hosting plans include a free domain, plus 20% off with code QGNAFFBUSPYA.
Get hosting + free domainBottom line
For a domain-only purchase, compare both at the time of buying since promotional pricing changes often. For a new website overall, bundling with hosting is typically the better deal.