Just inside the Golden Gate, Crissy Field has a wide, sandy beach with a pretty view of the bridge and Alcatraz. It's a short, 10 minute walk from Fisherman's Wharf. Of the San Francisco beaches, this one's the most popular with windsurfers.
https://www.presidio.gov/places/east-beach