Vertical Al-catalyzed SiNW arrays with shaped surfaces were synthesized by a one-step process and NW-based solar cells were demonstrated with optimized NW surface defects through surface modification and length reduction.