Aaron Williams said Tuesday he views his position switch from cornerback to safety as an opportunity, not a demotion.

“I’m a corner playing safety, that’s the way I look at it, a corner playing safety,” Williams said after the team’s minicamp practice. “They wanted me back there to have an advantage against tight ends or guys in the slot. I can still play corner if they put me back there. It has nothing to do with they think I can’t play corner. It’s a corner playing safety.”

The Bills confirmed Williams’ switch at the start of the team’s three-day voluntary minicamp for veterans at One Bills Drive.

Williams has failed to establish himself at cornerback over the past two seasons, since being selected 34th overall in the 2011 NFL Draft.

The 6-foot, 199-pounder has the body and the athleticism to make an impact at safety, and the Bills have a need at the position with the departure of George Wilson, who was released in February.

New defensive coordinator Mike Pettine effectively used a three-safety nickel package a lot the past few years with the New York Jets.

If Williams can excel at the position, the Bills could pair him with Pro Bowl free safety Jairus Byrd in the back of the nickel defense and allow big strong safety Da’Norris Searcy to play closer to the line. Searcy still needs to prove his coverage ability in order to win the starting job at safety. Williams also could give the Bills a better coverage option against top tight ends, which have posed an increasing matchup problem for defenses in recent years.

“That’s one of the things that’s a big advantage for Aaron Williams is he’s played corner,” said Bills general manager Buddy Nix.

“So if he needs to walk up and play the slot he can do that. So that dictates it a lot. … The whole deal of the strong safety that plays down in the box is about gone. They just won’t let you do that.”

Nix said quick receivers like Denver’s Wes Welker are too tough for strong safeties to cover.

“They’ll match him up against Welker, and you can’t cover him,” Nix said.

Some draft analysts projected Williams as a potential safety when he came out of the University of Texas, in part because he didn’t run a blazing 40-yard dash time at the scouting combine. He ran it in 4.55 seconds, although he ran a bit faster at his pro-day workout.

“In run support, he has few peers at the cornerback position in terms of the players that have come out in recent years,” ESPN analyst Mel Kiper said at the time.

Williams had coverage trouble last year. He allowed five TD passes in the first five games. He started the first eight games, then suffered a knee injury and missed five games. He returned to start the final two games of the season.

He will need to show he can develop the anticipation to be a playmaker on the back line.

“Wherever the coaches want me to play I’m going to play it,” Williams said.