A switched-capacitor converter comprising: - a first terminal (V in , 1); - a second terminal (V out , 2); - a switched-capacitor ladder network comprising a plurality of serially connected first capacitors (C 1a , C 3a , C 5a , C 7a , C 9a , C 11a ) defining a plurality of flying capacitor nodes; a plurality of serially connected second capacitors (C 2a , C 4a , C 6a , C 8a , C 10a , C 12a ) defining a plurality of output capacitor nodes; an array of switches, whereby nodes of the flying capacitor nodes can be connected to nodes of the output capacitor nodes to perform a switched-capacitor ladder power conversion; and - a switch matrix comprising an input multiplexer (S bp1 , S bp2 ) for connecting the first terminal to different flying capacitor nodes and/or to different output capacitor nodes, an output multiplexer (MUXo) for selecting one node of the output capacitor nodes to connect to the second terminal (V out , 2), and a bypass multiplexer (S bp1 , S bp2 ), characterized in that the switched-capacitor converter further comprises a power factor correction capacitor connected to the second terminal, and a control circuit configured to control the input multiplexer and/or output multiplexer and/or bypass multiplexer to dynamically configure the switched-capacitor converter in order to dynamically adapt the voltage conversion ratio according to an oscillating AC input voltage, and to configure the switches of the ladder network and/or the switch matrix to access the capacitors in the switched-capacitor ladder network that are not used for power conversion in a particular input and/or output multiplexer and/or bypass multiplexer configuration for power factor correction. - a first terminal (V in , 1); - a second terminal (V out , 2); - a switched-capacitor ladder network comprising a plurality of serially connected first capacitors (C 1a , C 3a , C 5a , C 7a , C 9a , C 11a ) defining a plurality of flying capacitor nodes; a plurality of serially connected second capacitors (C 2a , C 4a , C 6a , C 8a , C 10a , C 12a ) defining a plurality of output capacitor nodes; an array of switches, whereby nodes of the flying capacitor nodes can be connected to nodes of the output capacitor nodes to perform a switched-capacitor ladder power conversion; and - a switch matrix comprising an input multiplexer (S bp1 , S bp2 ) for connecting the first terminal to different flying capacitor nodes and/or to different output capacitor nodes, an output multiplexer (MUXo) for selecting one node of the output capacitor nodes to connect to the second terminal (V out , 2), and a bypass multiplexer (S bp1 , S bp2 ), the switched-capacitor converter further comprises a power factor correction capacitor connected to the second terminal, and a control circuit configured to control the input multiplexer and/or output multiplexer and/or bypass multiplexer to dynamically configure the switched-capacitor converter in order to dynamically adapt the voltage conversion ratio according to an oscillating AC input voltage, and to configure the switches of the ladder network and/or the switch matrix to access the capacitors in the switched-capacitor ladder network that are not used for power conversion in a particular input and/or output multiplexer and/or bypass multiplexer configuration for power factor correction. <EOS>