$5,000 might not seem like much in the tech sector, where stocks often cost hundreds or thousands of dollars per share. However, the best tech stocks can still transform a modest investment into a small fortune.

To identify those long-term winners, investors should focus on companies that are led by visionary CEOs, routinely generate robust growth, and exercise killer competitive advantages. These three tech stocks check all three boxes: Adobe (ADBE -1.43%), Microsoft (MSFT -0.93%), and AMD (AMD -4.57%).

1. Adobe

A decade ago, Adobe generated most of its revenue from desktop software. Today, nearly all of its revenue comes from cloud-based services.

Adobe's entire business model evolved because CEO Shantanu Narayen pushed the company to transform all of its desktop-based creative software products -- including Photoshop, Illustrator, and Premiere Pro -- into subscription-based cloud services. Adobe also launched new cloud-based e-commerce, marketing, and analytics services for enterprise customers.

Two designers edit an image together.

Image source: Getty Images.

This bold transformation locked in Adobe's customers, generated predictable recurring revenue, and widened its moat. As a result, Adobe's annual revenue surged from $4.1 billion in 2013 to $12.9 billion in 2020, while its adjusted earnings per share (EPS) soared from $1.34 to $10.10 per share.

Those long-term returns are impressive, but Adobe hasn't run out of room to grow yet. Analysts expect Adobe's revenue to rise 22.5% this year and grow another 15% next year as its Digital Media (creative software) and Digital Experience (enterprise software) clouds continue to expand.

Adobe doesn't face many meaningful competitors in the creative software market, its ecosystem is very sticky, and its enterprise-facing businesses should continue to benefit from the ongoing digitization and automation of older businesses. All those qualities make it a solid long-term investment. 

2. Microsoft

Microsoft also underwent a dramatic cloud-based transformation under a visionary CEO over the past seven years. Satya Nadella, who took over as Microsoft's third CEO in 2014, aggressively expanded the aging tech giant's cloud services with a "mobile first, cloud first" mantra.

In 2015, Microsoft set a goal to grow its annualized cloud revenue from $6.3 billion to $20 billion by 2018. It hit that target in 2017, then went on to generate a whopping $69 billion in cloud revenue in fiscal 2021.

That growth was led by Azure, which competes against Amazon's (AMZN -2.44%) Amazon Web Services (AWS) in the cloud platform market, as well as Office 365, Dynamics in the customer relationship management (CRM) market, and enterprise-oriented social network LinkedIn. Microsoft also continued to broaden its hardware portfolio with new Xbox consoles and Surface devices.

Between fiscal 2014 and 2021, Microsoft's annual revenue soared from $86.8 billion to $168.1 billion, while its EPS jumped from $2.63 to $8.05.

Wall Street expects Microsoft's revenue to rise 17% this year and 14% in fiscal 2023 as its cloud business continues to expand. Those stable growth rates indicate Microsoft's stock still plenty of upside potential.

3. AMD

Seven years ago, AMD was in serious trouble. Its newest central processing units (CPUs) performed poorly against Intel's (INTC -1.27%) CPUs, and it was fighting a losing battle against Nvidia (NVDA -7.03%) in the high-end GPU market.

But after Lisa Su took over as AMD's CEO in 2014, the struggling chipmaker experienced a historic turnaround. Under Su, AMD launched a new generation of Ryzen CPUs for PCs and Epyc CPUs for servers. The chips were well received, and original equipment manufacturers (OEMs) scooped them up as Intel repeatedly struggled with chip delays, shortages, and abrupt leadership changes.

Between 2014 and 2021, AMD's share of the entire x86 CPU market rose from 23.4% to 39.4%, according to PassMark, as it gained ground against Intel across the desktop, laptop, and server markets. Its new Radeon GPUs kept pace with Nvidia's latest GPUs, and AMD continued to sell custom APUs for Sony and Microsoft's latest gaming consoles.

AMD's revenue rose from $5.51 billion in 2014 to $9.76 billion in 2020, as its adjusted earnings skyrocketed from $0.06 to $1.29 per share.

AMD will likely stay ahead of Intel as it continues to outsource its manufacturing to Taiwan Semiconductor Manufacturing's (TSMC) (TSM -3.24%) foundries. Intel plans to strike back at AMD and TSMC by doubling down on its own foundries, but that costly plan could backfire and result in even more market share losses to AMD. As a result, AMD remains one of the best long-term plays in the semiconductor segment.