The threads on normal toilet valves are 3/4" Hose size (normal garden hose size). Don't if that is true for your fill valve, but it should be easy enough to test.
If that is the case most HW stores (Lowes, Home Depot, etc) have PVC adapters from 3/4 hose to 3/4 IP so a pair of such adapters...