BV and AV converter
Type a BV ID, an AV number or a video link. The conversion runs in your browser with Bilibili’s own scheme, so nothing is sent anywhere.
- BV ID
- BV17x411w7KC
- AV number
- av170001
Worked out in your browser.
How it works
A BV ID is the AV number in disguise. Bilibili sets bit 51 of the number, XORs it with 23442827791579, writes the result in base 58 with its own alphabet (FcwAPNKTMug3GV5Lj7EJnHpWsx4tb8haYeviqBz6rkCy12mUSDQX9RdoZf) after “BV1”, and swaps characters 3 and 9, and 4 and 7. Going back undoes each step and masks the number to 51 bits. The same rule covers the old short IDs and the 15-digit numbers issued since 2024.