Woolworths Group Ltd (ASX: WOW) shares have enjoyed a remarkable recovery over the past year.
The supermarket giant's shares are trading around $42.24 on Wednesday, just below their 52-week high of $42.73.
That's a long way from their 52-week low of $27.78, with the shares now up more than 50% over 12 months.
It's great news for investors who bought a year ago. But has the rally gone too far?

Image source: Getty Images
Why Woolworths shares have recovered
I think Woolworths has given investors some good reasons to become more optimistic about its future.
During FY26, Australian Food sales increased 4.6%, while operating earnings rose 8.5% as management made progress improving the business.
And this momentum has continued into FY27. Woolworths' latest quarterly update revealed that Australian Food sales increased 6.9%, with comparable sales growth of 6.1%.
Importantly, customers were buying more products, rather than simply paying higher prices.
The company's online operations are also performing well, with eCommerce sales increasing 20.2% during the quarter.
I think these results demonstrate that Woolworths' investments in lower prices, convenience, and customer experience are starting to pay off.
A positive outlook
Another reason I'm positive about Woolworths is its defensive qualities.
Australians still need to buy groceries when economic conditions become challenging, which gives the company a relatively dependable source of revenue.
And I think management has opportunities to make those sales more profitable.
At its recent investor day, Woolworths outlined an ambition to increase group sales by approximately $10 billion by FY29.
Management is also targeting stronger earnings growth through improved efficiency and the expansion of businesses such as retail media and Everyday Rewards.
These operations could become increasingly valuable because they can generate attractive margins without requiring the same investment as opening new supermarkets.
I think there's a reasonable chance Woolworths will be earning considerably more in a few years.
But is the valuation too high?
I'm sitting on the fence with the valuation of Woolworths shares.
According to CommSec consensus forecasts, Woolworths is expected to generate earnings per share (EPS) of $1.48 in FY27, $1.61 in FY28, and $1.75 in FY29.
At the current share price, that puts Woolworths shares on forward price-to-earnings (PE) ratios of approximately 28.5, 26.2, and 24.1 times, respectively.
For context, I calculate that Woolworths has traded on an average PE ratio of approximately 26.9 times over the past decade.
As a result, I think today's valuation could be a little demanding and investors may want to wait for a pullback before considering an investment.
Foolish takeaway
I still like Woolworths shares as a long-term investment, and I think its improving performance gives shareholders reasons to be optimistic.
However, after such a strong share price rally, I'd be inclined to hold rather than buy more at today's valuation.
I'd prefer to wait for a pullback before adding Woolworths shares to my portfolio. A slightly lower entry price would give me more confidence that future earnings growth could translate into attractive shareholder returns.